;------------------------BALANCE DATA----------------------------
;NOTE: Attacks are as such: PreAttackDelay -> Both: FiringDuration & DelayBetweenShots -> After DBS starts PreAttackDelay again.

; Region Bonuses
#define M_DEFAULT_REGION_RESOURCE_BONUS				10
#define M_DEFAULT_REGION_ARMY_BONUS_GOOD				20
#define M_DEFAULT_REGION_ARMY_BONUS_EVIL				50
#define M_DEFAULT_REGION_LEGENDARY_BONUS				1

#define M_SPELL_DARKNESS_DURATION						180000
#define M_SPELL_FREEZINGRAIN_DURATION					150000 ; ; 180000
#define M_SPELL_CLOUDBREAK_DURATION					 30000

#define M_SPECIALPOWER_DEVASTATION_RADIUS				180	; balance
#define M_SPECIALPOWER_DEVASTATION_ENT_DAMAGE			800 ; balance

#define M_ENSHROUDING_MIST_EFFECT_RADIUS				150

#define M_BURNINGDEATH_WANDERSPEED_INFANTRY			50
#define M_BURNINGDEATH_DURATION_INFANTRY				5000

#define M_BURNINGDEATH_WANDERSPEED_CAVALRY			75
#define M_BURNINGDEATH_DURATION_CAVALRY				2500

#define M_BURNINGDEATH_WANDERSPEED_ENT				75
#define M_BURNINGDEATH_DURATION_ENT					2500

;------------------------GENERIC UNITS/STRUCTURES----------
#define M_SENTRY_TOWER_COST					370 ; ; 500
#define M_SENTRY_TOWER_BUILDTIME					20 ; ; 30

#define M_SHROUD_CLEAR_STANDARD					25
#define M_SHROUD_CLEAR_MACHINE					250
#define M_SHROUD_CLEAR_ARTILLERY					400
#define M_SHROUD_CLEAR_HERO					300
#define M_SHROUD_CLEAR_HOBBIT					160
#define M_SHROUD_CLEAR_BASE_DEFENSE				500
#define M_SHROUD_CLEAR_FLIER					600
#define M_SHROUD_CLEAR_RANGED_HERO				500
#define M_SHROUD_CLEAR_ENT					650
#define M_SHROUD_CLEAR_GIANT					400
#define M_SHROUD_CLEAR_TROLL					400
#define M_SHROUD_CLEAR_TRANSPORTSHIP				200
#define M_SHROUD_CLEAR_BATTLESHIP					600
#define M_SHROUD_CLEAR_SKULL_TOTEM				400

#define M_VISION_STANDARD_TOMBOMB					250
#define M_VISION_STANDARD_MELEE					175
#define M_VISION_STANDARD_HORSE					175
#define M_VISION_STANDARD_LARGE_ANIMAL				175
#define M_VISION_STANDARD_SHORT					200
#define M_VISION_HERO_RANGED					450
#define M_VISION_HERO_STANDARD					175
#define M_VISION_FLIER						400
#define M_VISION_BASE_DEFENSE					600
#define M_VISION_HOBBIT						100
#define M_CREEP_VISION						200 ; ; 150
#define	M_VISION_ENT						500

#define M_STANDARD_HORDE_EXIT_DELAY						10

#define M_STANDARD_WALL_STAGGERED_BUILD_FACTOR			20 
#define M_STANDARD_CFH_RADIUS					200

#define M_EMOTION_CHEER_RADIUS					100
#define M_ARCHER_FEAR_SCAN_RADIUS					30
#define M_INFANTRY_FEAR_SCAN_RADIUS				100
#define M_CAVALRY_FEAR_SCAN_RADIUS				30
#define M_INFANTRY_TAUNT_POINT_RADIUS				100


#define M_DEFAULT_STRUCTURE_HEALDELAY				120 ; ; 300

#define M_GENERIC_FACTION_GARRISONABLE			ANY +INFANTRY +BANNER +BarrowWight +BarrowWight_Slaved -CAVALRY -SUMMONED -WildSpiderling -WildSpiderlingHorde -COMBO_HORDE -IsengardSharku
#define M_GENERIC_FACTION_SLAUGHTERABLE			ANY +INFANTRY +CAVALRY -HERO -DOZER -SUMMONED
#define M_GENERIC_BUFF_RECIPIENT_OBJECT_FILTER	ANY +INFANTRY +CAVALRY -MACHINE -IMMOBILE -DOZER -HERO -STRUCTURE -BASE_FOUNDATION -HORDE -DwarvenBattleWagon -RohanOathbreaker -MordorRamCrew +MordorWorker -IsengardRamCrew -IsengardBeserker

												; Afraid of objects must be SCARY kindof as well.
#define M_EMOTION_AFRAIDOF_OBJECTFILTER			NONE +GondorGwaihir +RohanTreeBerd +RohanEntFir +RohanEntAsh +RohanEntBirch +MordorBalrog +MordorFellBeast +MordorWitchKingOnFellBeast +MordorCaveTroll +MordorMountainTroll +MordorDrummerTroll +MordorMumakil +MordorGateWatchersExpansion +BarrowWight +NecromancerStatue +GoblinCaveTroll +SpellBookArrowVolley +TomBombadil +TomBombadil_Summoned +GoblinCaveTroll_FromTrollLair +CaveTroll_Slaved +ElvenVigilantEnt +RohanGenericEnt +RohanEntFir_Summoned +RohanEntBirch_Summoned +EvilMenBlackRider +CreateAHero
#define M_EMOTION_ALWAYS_AFRAIDOF_OBJECTFILTER	NONE +MordorBalrog +RohanOathbreaker 
#define M_EMOTION_POINTAT_OBJECTFILTER			NONE +MordorFellBeast +MordorWitchKingOnFellBeast +GondorGwaihir +MordorGateWatchersExpansion +SpellBookArrowVolley

#define M_CREEP_OBJECTFILTER		 				ANY +CaveTrollLair +MoriarGoblinLair +WargLair +SpiderLair +BarrowWightLair +FireDrakeLair +MoriarGoblinLairSnow +CaveTrollLairSnow +NeutralWarg +BarrowWight_Slaved +FireDrake_Slaved +MordorGoblinSwordsman_Slaved +MordorGoblinArcher_Slaved +MinorSpider_Slaved +CaveTroll_Slaved ENEMIES
#define M_NOT_CREEP		 						-CaveTrollLair -MoriarGoblinLair -WargLair -SpiderLair -BarrowWightLair -FireDrakeLair -MoriarGoblinLairSnow -CaveTrollLairSnow -NeutralWarg -BarrowWight_Slaved -FireDrake_Slaved -MordorGoblinSwordsman_Slaved -MordorGoblinArcher_Slaved -MinorSpider_Slaved -CaveTroll_Slaved 
#define M_NOT_FLYING_UNITS						-Drogoth -GondorGwaihir_Summoned -GondorGwaihir -MordorFellBeast -MordorWitchKingOnFellBeast -ElvenFortressEagle -SpellBookDragonStrikeDragon
#define M_AFFECTED_BY_POISON_OBJECTFILTER			ALL -MACHINE -STRUCTURE -SHIP -MordorSauron -MordorWitchKing -MordorWitchKingOnFellBeast -MordorRingWraith -MordorRingWraithNoGlow -EvilMenBlackRider -BarrowWight -RohanOathbreaker -IsengardDeployedExplosiveMine -MordorBalrog
#define M_AFFECTED_BY_POISON_CASTABLE				ALL -MACHINE -STRUCTURE -SHIP ;// this needed because th poison weapon also does damage, which we still want to be able to do on poison-immune units
#define M_DEFAULT_POISON_DAMAGE					10
#define M_GOBLIN_FIGHTER_POISON_DAMAGE				6 ; ; 4
#define M_SHELOB_POISON_DAMAGE					300
#define M_GORKIL_POISON_DAMAGE					100
#define M_POISONED_STINGER_DURATION				10000 ; ; 15000

#define M_POSTERNGATE_ALLOWABLE_OBJECTFILTER		ANY +INFANTRY +CAVALRY +WildFireDrake_Summoned +WildFortressFireDrake +BarrowWight +BarrowWight_Slaved +GoblinCaveTroll +MordorWitchKing +IsengardSharku +MordorSauron_RingHero -MONSTER -MACHINE -ARMY_OF_DEAD

#define M_FORTRESS_RING_STEALER_OBJECTFILTER		NONE ENEMIES +NeutralGollum_RingStealer

#define M_TRANSPORTSHIP_PASSENGER_OBJECTFILTER	ANY +INFANTRY +CAVALRY +HERO +BarrowWight +BarrowWight_Slaved -ElvenGaladriel_RingHero -MONSTER -SUMMONED

#define M_NO_SUMMON_NEAR_OBJECT_FILTER			ANY +RohanOathbreaker +ElvenGaladriel +ElvenGaladriel_RingHero +MordorSauron +MordorSauron_RingHero +MordorBalrog +MordorBalrogEggPlaceHolder +Wyrm +MordorMumakil +WatcherHead +WatcherHittingArm +WatcherEggPlaceHolder +WatcherCaldera +SummonedDragon +SummonedDragonJH1 +SummonedDragonEggPlaceHolder
#define M_NO_SUMMON_UNDERMINE_NEAR_OBJECT_FILTER	ANY +RohanOathbreaker +ElvenGaladriel +ElvenGaladriel_RingHero +MordorSauron +MordorSauron_RingHero +MordorBalrog +MordorBalrogEggPlaceHolder +Wyrm +MordorMumakil +WatcherHead +WatcherHittingArm +WatcherEggPlaceHolder +WatcherCaldera +SummonedDragon +SummonedDragonJH1 +SummonedDragonEggPlaceHolder //+STRUCTURE
#define M_NO_SUMMON_CITADEL_NEAR_OBJECT_FILTER	ANY +RohanOathbreaker +ElvenGaladriel +ElvenGaladriel_RingHero +MordorSauron +MordorSauron_RingHero +MordorBalrog +MordorBalrogEggPlaceHolder +Wyrm +MordorMumakil +WatcherHead +WatcherHittingArm +WatcherEggPlaceHolder +WatcherCaldera +SummonedDragon +SummonedDragonJH1 +SummonedDragonEggPlaceHolder //+STRUCTURE
#define M_NO_SUMMON_STRUCTURE_NEAR_OBJECT_FILTER	ANY +RohanOathbreaker +ElvenGaladriel +ElvenGaladriel_RingHero +MordorSauron +MordorSauron_RingHero +MordorBalrog +MordorBalrogEggPlaceHolder +Wyrm +MordorMumakil +WatcherHead +WatcherHittingArm +WatcherEggPlaceHolder +WatcherCaldera +SummonedDragon +SummonedDragonJH1 +SummonedDragonEggPlaceHolder +INFANTRY +HERO +CAVALRY +MONSTER +MACHINE //+STRUCTURE

;For summon allies
#define M_NO_SUMMON_ALLIES_NEAR_THESE				ANY +STRUCTURE

#define M_INSTANT_DEATH_ON_METAIMPACT_OBJFILTER	ANY +PORTER +DwarvenBattleWagon +DwarvenDemolisher +DwarvenCatapult +GondorTrebuchet +IsengardExplosiveMine +IsengardBallista +IsengardBatteringRam +MordorCatapult +MordorBatteringRam +MordorRamCrew +IsengardRamCrew

#define M_ATTACK_TROLL_DOMINATE_OBJECT_FILTER		ANY +MordorMountainTroll +GoblinCaveTroll +MordorDrummerTroll +CaveTroll_Slaved

#define M_KINGSFAVOR_OBJECTFILTER					ANY +CAVALRY +INFANTRY -STRUCTURE -CASTLE_KEEP -BASE_FOUNDATION -HERO -MOVE_ONLY -DOZER ALLIES

#define M_HOBBIT_KINDOF							PRELOAD SELECTABLE CAN_CAST_REFLECTIONS INFANTRY PATH_THROUGH_EACH_OTHER SCORE THROWN_OBJECT HERO HOBBIT ATTACK_NEEDS_LINE_OF_SIGHT HEAVY_MELEE_HITTER


#define M_HERO_HEAL_AMOUNT				30
#define M_NAZGUL_HEAL_AMOUNT				45 ; ; 60
#define M_MONSTER_HEAL_AMOUNT				15 ; ; 40
#define M_HERO_HEAL_DELAY					15000

#define M_MONSTER_HEAL_DELAY				15000

#define M_HERO_DODGE_PERCENT				50

#define M_CASTLE_WALL_REBUILD_TIME			180.0
#define M_CASTLE_WALL_REBUILD_COST			2000.0

#define M_STEALTH_FRIENDLY_OPACITY_MIN			100.0%
#define M_STEALTH_FRIENDLY_OPACITY_MAX			100.0%

#define M_CAMOUFLAGE_RADIUS						100.0
#define M_ELVEN_MIST_CAMOUFLAGE_DETECTION_RANGE	100.0
#define M_ELVEN_MIST_OBJECT_FILTER				ANY +HORDE +HERO +DOZER +RohanEntFir_Summoned +RohanEntBirch_Summoned +RohanEntFir +RohanEntBirch +RohanEntAsh +MordorMountainTroll +MordorDrummerTroll +MordorAttackTroll +WildMountainGiant +GoblinCaveTroll +CaveTroll_Slaved +MordorCaveTroll_Summoned +MordorAttackTroll_Summoned +WildMountainGiant_Summoned ALLIES

#define M_CAMOUFLAGE_DETECTION_DISTANCE_SHORT		0.5
#define M_CAMOUFLAGE_DETECTION_DISTANCE_SHORTISH	0.8
#define M_CAMOUFLAGE_DETECTION_DISTANCE_DEFAULT	1.0			// everything has this by default.
#define M_CAMOUFLAGE_DETECTION_DISTANCE_SHEDIUM	1.5			// not quite short and not quite medium so shedium.
#define M_CAMOUFLAGE_DETECTION_DISTANCE_MEDIUM	2.0		
#define M_CAMOUFLAGE_DETECTION_DISTANCE_LONG		3.0

#define M_GENERIC_KEEP_MONEY_TIME 			6000
#define M_GENERIC_KEEP_MONEY_AMOUNT			25
#define M_GENERIC_KEEP_MONEY_RANGE			50

#define M_PORTER_FIRE_EXTINGUISHER_DECREASEBURNRATE_RADIUS 	100.0
#define M_PORTER_FIRE_EXTINGUISHER_DECREASEBURNRATE_AMOUNT 	100.0
#define M_PORTER_FIRE_EXTINGUISHER_ABILITY_START_RANGE	 	115 ;// should be greater than M_PORTER_FIRE_EXTINGUISHER_DECREASEBURNRATE_RADIUS

#define M_GENERIC_STATUE_COMMAND_POINT_BONUS		10
#define M_GENERIC_ECONOMY_COMMAND_POINT_BONUS		50
#define M_GENERIC_FORTRESS_COMMAND_POINT_BONUS	100
#define M_DORMITORY_COMMAND_POINT_BONUS			25
#define M_OUTPOST_COMMAND_POINT_BONUS				25

#define M_SHOCKWAVE_RESISTANCE_WEAK			20
#define M_SHOCKWAVE_RESISTANCE_STRONG			74
#define M_SHOCKWAVE_RESISTANCE_IMMUNE			99
#define M_SHOCKWAVE_RESISTANCE_ALWAYS			9999 ; always resist meta-impact

#define M_DWARVENRICHES_EFFECT_RADIUS			100

#define M_INDUSTRY_TYPE_SPELL_OBJECT_FILTER	ANY +GondorFarm +DwarvenMineShaft +ElvenMallornTree +WildMineShaft +IsengardFurnace +MordorSlaughterHouse ALLIES
#define M_INDUSTRY_EFFECT_RADIUS				200.0

#define M_ARCHER_BOMBARD_SCATTER_RADIUS		60 ; ; 30
#define M_ARCHER_BOMBARD_FIREARROW_BURNRATEINCREASE	20

#define M_SELECTION_PRIORITY_CREBAIN 1
#define M_SELECTION_PRIORITY_MORDOR_WORKER 2
#define M_SELECTION_PRIORITY_PORTER 3

#define M_SPELLBOOK_TAINT_RADIUS				250 ; ; 175
#define M_SPELLBOOK_TAINT_TIME				300000			; ms = 5 minutes

#define M_ATHELAS_HEAL_AMOUNT					2000 ; ; 600

#define M_MONUMENT_FORTRESS_HEALTH				7500
#define M_MONUMENT_FORTRESS_HEALTH_DAMAGED		3750
#define M_MONUMENT_FORTRESS_HEALT_REALLY_DAMAGED	1875

#define M_MONUMENT_FORTRESS_GATE_BUILDCOST		1500

#define M_STANDARD_MELEE_ATTACK_RANGE				11.5		//This should be used by most melee units in the game...

//-----------------------Generic Experience Values-----------------

#define M_PLAYER_MAX_PURCHASE_POINTS_DEFAULT		150			// 150 = (3 * 5) + (4 * 10) + (3 * 15) + (2 * 25)
#define M_PLAYER_MAX_PURCHASE_POINTS_EVIL			225			// 230 = (5 * 5) + (6 * 10) + (5 * 15) + (4 * 25) - 5	( 5 is starting value)
#define M_PLAYER_MAX_PURCHASE_POINTS_GOOD			201			// 205 = (4 * 5) + (5 * 10) + (4 * 15) + (3 * 25) - 4	(rounding error)
#define M_PLAYER_PURCHASE_POINTS_GRANTED			1	//3		// Amount per rank SciencePurchasePointsGranted
#define M_PLAYER_SKILL_POINTS_DELTA_DEFAULT		60  //125 Why was this 42 // Amount to take to next rank SkillPointsNeededDefault
#define M_PLAYER_SKILL_POINTS_DELTA_CAMPAIGN		100 //133 400	// Amount to take to next rank SkillPointsNeededCampaign

#define M_EXPERIENCE_REQUIRED_EVIL_WEAK_1			1
#define M_EXPERIENCE_REQUIRED_EVIL_WEAK_2			40
#define M_EXPERIENCE_REQUIRED_EVIL_WEAK_3			80
#define M_EXPERIENCE_REQUIRED_EVIL_WEAK_4			120
#define M_EXPERIENCE_REQUIRED_EVIL_WEAK_5			160

#define M_EXPERIENCE_AWARD_EVIL_WEAK_1			1
#define M_EXPERIENCE_AWARD_EVIL_WEAK_2			1 ; ; 2
#define M_EXPERIENCE_AWARD_EVIL_WEAK_3			2 ; ; 3
#define M_EXPERIENCE_AWARD_EVIL_WEAK_4			3 ; ; 4
#define M_EXPERIENCE_AWARD_EVIL_WEAK_5			4 ; ; 5

#define M_EXPERIENCE_REQUIRED_EVIL_TROOP_1		1
#define M_EXPERIENCE_REQUIRED_EVIL_TROOP_2		50
#define M_EXPERIENCE_REQUIRED_EVIL_TROOP_3		100
#define M_EXPERIENCE_REQUIRED_EVIL_TROOP_4		150
#define M_EXPERIENCE_REQUIRED_EVIL_TROOP_5		200

#define M_EXPERIENCE_AWARD_EVIL_TROOP_1			3
#define M_EXPERIENCE_AWARD_EVIL_TROOP_2			4
#define M_EXPERIENCE_AWARD_EVIL_TROOP_3			5
#define M_EXPERIENCE_AWARD_EVIL_TROOP_4			6
#define M_EXPERIENCE_AWARD_EVIL_TROOP_5			7

#define M_EXPERIENCE_REQUIRED_EVIL_ELITE_1		1
#define M_EXPERIENCE_REQUIRED_EVIL_ELITE_2		95 ; ; 60
#define M_EXPERIENCE_REQUIRED_EVIL_ELITE_3		210 ; ; 120
#define M_EXPERIENCE_REQUIRED_EVIL_ELITE_4		315 ; ; 180
#define M_EXPERIENCE_REQUIRED_EVIL_ELITE_5		420 ; ; 240

#define M_EXPERIENCE_AWARD_EVIL_ELITE_1			5
#define M_EXPERIENCE_AWARD_EVIL_ELITE_2			6
#define M_EXPERIENCE_AWARD_EVIL_ELITE_3			7
#define M_EXPERIENCE_AWARD_EVIL_ELITE_4			8
#define M_EXPERIENCE_AWARD_EVIL_ELITE_5			9

#define M_EXPERIENCE_REQUIRED_EVIL_MONSTER_1		1
#define M_EXPERIENCE_REQUIRED_EVIL_MONSTER_2		70
#define M_EXPERIENCE_REQUIRED_EVIL_MONSTER_3		140
#define M_EXPERIENCE_REQUIRED_EVIL_MONSTER_4		210
#define M_EXPERIENCE_REQUIRED_EVIL_MONSTER_5		280

#define M_EXPERIENCE_AWARD_EVIL_MONSTER_1			30
#define M_EXPERIENCE_AWARD_EVIL_MONSTER_2			40
#define M_EXPERIENCE_AWARD_EVIL_MONSTER_3			50
#define M_EXPERIENCE_AWARD_EVIL_MONSTER_4			60
#define M_EXPERIENCE_AWARD_EVIL_MONSTER_5			70

#define M_EXPERIENCE_AWARD_EVIL_MUMAKIL_1			50
#define M_EXPERIENCE_AWARD_EVIL_MUMAKIL_2			60
#define M_EXPERIENCE_AWARD_EVIL_MUMAKIL_3			70
#define M_EXPERIENCE_AWARD_EVIL_MUMAKIL_4			80
#define M_EXPERIENCE_AWARD_EVIL_MUMAKIL_5			90

#define M_EXPERIENCE_REQUIRED_GOOD_TROOP_1		1
#define M_EXPERIENCE_REQUIRED_GOOD_TROOP_2		50
#define M_EXPERIENCE_REQUIRED_GOOD_TROOP_3		100
#define M_EXPERIENCE_REQUIRED_GOOD_TROOP_4		150
#define M_EXPERIENCE_REQUIRED_GOOD_TROOP_5		200

#define M_EXPERIENCE_AWARD_GOOD_TROOP_1			3
#define M_EXPERIENCE_AWARD_GOOD_TROOP_2			4
#define M_EXPERIENCE_AWARD_GOOD_TROOP_3			5
#define M_EXPERIENCE_AWARD_GOOD_TROOP_4			6
#define M_EXPERIENCE_AWARD_GOOD_TROOP_5			7

#define M_EXPERIENCE_REQUIRED_GOOD_HORSE_1		1
#define M_EXPERIENCE_REQUIRED_GOOD_HORSE_2		95 ;200 ; ; 70
#define M_EXPERIENCE_REQUIRED_GOOD_HORSE_3		210 ;400 ; ; 140
#define M_EXPERIENCE_REQUIRED_GOOD_HORSE_4		315 ;600 ; ; 210
#define M_EXPERIENCE_REQUIRED_GOOD_HORSE_5		420 ;800 ; ; 280

#define M_EXPERIENCE_AWARD_GOOD_HORSE_1			8
#define M_EXPERIENCE_AWARD_GOOD_HORSE_2			9
#define M_EXPERIENCE_AWARD_GOOD_HORSE_3			10
#define M_EXPERIENCE_AWARD_GOOD_HORSE_4			11
#define M_EXPERIENCE_AWARD_GOOD_HORSE_5			12

#define M_EXPERIENCE_REQUIRED_DWARF_MACHINE_1		1
#define M_EXPERIENCE_REQUIRED_DWARF_MACHINE_2		100 ; ; 50
#define M_EXPERIENCE_REQUIRED_DWARF_MACHINE_3		200  ; ; 100
#define M_EXPERIENCE_REQUIRED_DWARF_MACHINE_4		300  ; ; 150
#define M_EXPERIENCE_REQUIRED_DWARF_MACHINE_5		400  ; ; 200

#define M_EXPERIENCE_AWARD_DWARF_MACHINE_1		10
#define M_EXPERIENCE_AWARD_DWARF_MACHINE_2		15
#define M_EXPERIENCE_AWARD_DWARF_MACHINE_3		20
#define M_EXPERIENCE_AWARD_DWARF_MACHINE_4		25
#define M_EXPERIENCE_AWARD_DWARF_MACHINE_5		30

#define M_EXPERIENCE_REQUIRED_GOOD_ELITE_1		1
#define M_EXPERIENCE_REQUIRED_GOOD_ELITE_2		70	
#define M_EXPERIENCE_REQUIRED_GOOD_ELITE_3		140
#define M_EXPERIENCE_REQUIRED_GOOD_ELITE_4		210
#define M_EXPERIENCE_REQUIRED_GOOD_ELITE_5		280

#define M_EXPERIENCE_AWARD_GOOD_ELITE_1			5
#define M_EXPERIENCE_AWARD_GOOD_ELITE_2			6
#define M_EXPERIENCE_AWARD_GOOD_ELITE_3			7
#define M_EXPERIENCE_AWARD_GOOD_ELITE_4			8
#define M_EXPERIENCE_AWARD_GOOD_ELITE_5			9

#define M_EXPERIENCE_REQUIRED_SHIPS_1			1
#define M_EXPERIENCE_REQUIRED_SHIPS_2			150
#define M_EXPERIENCE_REQUIRED_SHIPS_3			300
#define M_EXPERIENCE_REQUIRED_SHIPS_4			500
#define M_EXPERIENCE_REQUIRED_SHIPS_5			700

#define M_EXPERIENCE_AWARD_SHIPS_1			20
#define M_EXPERIENCE_AWARD_SHIPS_2			30
#define M_EXPERIENCE_AWARD_SHIPS_3			40
#define M_EXPERIENCE_AWARD_SHIPS_4			50
#define M_EXPERIENCE_AWARD_SHIPS_5			60

//--------------Level Up Bonuses--------------------------
#define M_GOOD_TROOP_HP_ADD_LVL2				20
#define M_GOOD_TROOP_HP_ADD_LVL3				20
#define M_GOOD_TROOP_HP_ADD_LVL4				20
#define M_GOOD_TROOP_HP_ADD_LVL5				20

#define M_GOOD_TROOP_DAMAGE_ADD_LVL2			10
#define M_GOOD_TROOP_DAMAGE_ADD_LVL3			10
#define M_GOOD_TROOP_DAMAGE_ADD_LVL4			10
#define M_GOOD_TROOP_DAMAGE_ADD_LVL5			10

#define M_GOOD_ELITE_HP_ADD_LVL2				20
#define M_GOOD_ELITE_HP_ADD_LVL3				20
#define M_GOOD_ELITE_HP_ADD_LVL4				20
#define M_GOOD_ELITE_HP_ADD_LVL5				20

#define M_GOOD_ELITE_DAMAGE_ADD_LVL2			10
#define M_GOOD_ELITE_DAMAGE_ADD_LVL3			10
#define M_GOOD_ELITE_DAMAGE_ADD_LVL4			10
#define M_GOOD_ELITE_DAMAGE_ADD_LVL5			10

#define M_GOOD_HORSE_HP_ADD_LVL2				20
#define M_GOOD_HORSE_HP_ADD_LVL3				20
#define M_GOOD_HORSE_HP_ADD_LVL4				20
#define M_GOOD_HORSE_HP_ADD_LVL5				20

#define M_GOOD_HORSE_DAMAGE_ADD_LVL2			10
#define M_GOOD_HORSE_DAMAGE_ADD_LVL3			10
#define M_GOOD_HORSE_DAMAGE_ADD_LVL4			10
#define M_GOOD_HORSE_DAMAGE_ADD_LVL5			10

#define M_DWARF_MACHINE_HP_ADD_LVL2			250
#define M_DWARF_MACHINE_HP_ADD_LVL3			250
#define M_DWARF_MACHINE_HP_ADD_LVL4			250
#define M_DWARF_MACHINE_HP_ADD_LVL5			250

#define M_DWARF_MACHINE_DAMAGE_ADD_LVL2			50
#define M_DWARF_MACHINE_DAMAGE_ADD_LVL3			50
#define M_DWARF_MACHINE_DAMAGE_ADD_LVL4			50
#define M_DWARF_MACHINE_DAMAGE_ADD_LVL5			50

#define M_EVIL_TROOP_HP_ADD_LVL2				20
#define M_EVIL_TROOP_HP_ADD_LVL3				20
#define M_EVIL_TROOP_HP_ADD_LVL4				20
#define M_EVIL_TROOP_HP_ADD_LVL5				20

#define M_EVIL_TROOP_DAMAGE_ADD_LVL2			5
#define M_EVIL_TROOP_DAMAGE_ADD_LVL3			5
#define M_EVIL_TROOP_DAMAGE_ADD_LVL4			5
#define M_EVIL_TROOP_DAMAGE_ADD_LVL5			5

#define M_EVIL_ELITE_HP_ADD_LVL2				20
#define M_EVIL_ELITE_HP_ADD_LVL3				20
#define M_EVIL_ELITE_HP_ADD_LVL4				20
#define M_EVIL_ELITE_HP_ADD_LVL5				20

#define M_EVIL_ELITE_DAMAGE_ADD_LVL2			10
#define M_EVIL_ELITE_DAMAGE_ADD_LVL3			10
#define M_EVIL_ELITE_DAMAGE_ADD_LVL4			10
#define M_EVIL_ELITE_DAMAGE_ADD_LVL5			10

#define M_EVIL_MONSTER_RESIST_KNOCKBACK			50%

#define M_EVIL_MONSTER_HP_ADD_LVL2			50
#define M_EVIL_MONSTER_HP_ADD_LVL3			50
#define M_EVIL_MONSTER_HP_ADD_LVL4			50
#define M_EVIL_MONSTER_HP_ADD_LVL5			50
#define M_EVIL_MONSTER_HP_ADD_LVL10			50

#define M_EVIL_MONSTER_DAMAGE_ADD_LVL2			30
#define M_EVIL_MONSTER_DAMAGE_ADD_LVL3			30
#define M_EVIL_MONSTER_DAMAGE_ADD_LVL4			30
#define M_EVIL_MONSTER_DAMAGE_ADD_LVL5			20 ; ; 30
#define M_EVIL_MONSTER_DAMAGE_ADD_LVL10			30


//------------ Auto resolve level up bonuses -----------------

#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL2				20
#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL3				20
#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL4				20
#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL5				20
#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL6				10
#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL7				10
#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL8				10
#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL9				10
#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL10				10

;// TODO: finish for other unit types


#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL2			10
#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL3			10
#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL4			10
#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL5			10
#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL6			5
#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL7			5
#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL8			5
#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL9			5
#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL10			5


;// TODO: finish for other unit types


;--------------Upgrade Bonuses--------------------------
#define M_AUTORESOLVE_GOOD_SOLDIER_UPGRADE_DAMAGE_ADD			40


;// TODO: finish for other unit types




;------------------------WILD------------------------
;------------------------STRUCTURES------------------
;------------------------LUMBERMILL-------------
#define M_WILD_LUMBERMILL_BUILDCOST				370 ; ; 450
#define M_WILD_LUMBERMILL_BUILDTIME				30
#define M_WILD_LUMBERMILL_HEALTH					1500
#define M_WILD_LUMBERMILL_HEALTH_DAMAGED				1000
#define M_WILD_LUMBERMILL_HEALTH_REALLY_DAMAGED			500
#define M_WILD_LUMBERMILL_SHROUD_CLEAR				160
#define M_WILD_LUMBERMILL_MONEY_TIME 				6000
#define M_WILD_LUMBERMILL_MONEY_AMOUNT				10

#define M_WILD_LUMBERMILL_LVL2_HP_ADD           			500
#define M_WILD_LUMBERMILL_LVL3_HP_ADD           			1000

#define M_WILD_LUMBERMILL_LVL2_PRODUCTION 		1.25
#define M_WILD_LUMBERMILL_LVL3_PRODUCTION 		1.25
#define M_WILD_LUMBERMILL_BOUNTY_VALUE			50

#define	M_WILD_LUMBERMILL_LVL1_EXP_AWARD 			50
#define	M_WILD_LUMBERMILL_LVL2_EXP_AWARD 			60
#define	M_WILD_LUMBERMILL_LVL3_EXP_AWARD 			70
  
#define M_WILD_LUMBERMILL_LVL2_EXP_NEEDED			2000
#define M_WILD_LUMBERMILL_LVL3_EXP_NEEDED 		5000

;------------------------WILD FORTRESS-------------
#define M_WILD_FORTRESS_BUILDCOST					5000
#define M_WILD_FORTRESS_BUILDTIME					120
#define M_WILD_FORTRESS_VISION_RANGE				400
#define	M_WILD_FORTRESS_SHROUD_CLEAR				800
#define M_WILD_FORTRESS_HEALTH					7500
#define M_WILD_FORTRESS_HEALTH_DAMAGED			5000
#define M_WILD_FORTRESS_HEALTH_REALLY_DAMAGED		2500

#define	M_WILD_FORTRESS_BOUNTY_VALUE				1250

;//Wild Fortress Improvements
#define M_WILD_BATCLOUD_BUILDCOST							500
#define M_WILD_BATCLOUD_BUILDTIME							30

#define M_WILD_DRAGONNEST_BUILDCOST						1000 ; ; 2500
#define M_WILD_DRAGONNEST_BUILDTIME						30
#define M_WILD_FIREDRAKE_BUILDCOST						2000
#define M_WILD_FIREDRAKE_BUILDTIME						30

#define M_WILD_FORTRESS_FIREARROWS_BUILDCOST					1500
#define M_WILD_FORTRESS_FIREARROWS_BUILDTIME					30

#define M_WILD_FORTRESS_WEBCOCOON_BUILDCOST					1600 ; ; 2000
#define M_WILD_FORTRESS_WEBCOCOON_BUILDTIME					30
#define M_WILD_FORTRESS_WEBCOCOON_KEEP_HEALTH_BONUS   				0 ; Nerfing the Fortress Armor Upgrade -GB
#define M_WILD_FORTRESS_WEBCOCOON_KEEP_ARMOR_BONUS				0.35 ; ; .5
#define M_WILD_FORTRESS_WEBCOCOON_EXPANSION_HEALTH_BONUS				0 ; Nerfing the Fortress Armor Upgrade -GB
#define	M_WILD_FORTRESS_WEBCOCOON_EXPANSION_ARMOR_BONUS				0.35 ; ; .5

#define M_WILD_FORTRESS_RAZORSPINES_BUILDCOST					1000
#define M_WILD_FORTRESS_RAZORSPINES_BUILDTIME					30
#define M_WILD_FORTRESS_RAZORSPINES_DAMAGE					150.0
#define M_WILD_FORTRESS_RAZORSPINES_RANGE						90.0

;------------------------CAVE-------------
#define M_GOBLIN_CAVE_BUILDCOST				400
#define M_GOBLIN_CAVE_BUILDTIME				30
#define M_GOBLIN_CAVE_LEVEL2_UPGRADE_COST			150 ; ; 100
#define M_GOBLIN_CAVE_LEVEL2_UPGRADE_BUILDTIME		30
#define M_GOBLIN_CAVE_LEVEL3_UPGRADE_COST			250 ; ; 200
#define M_GOBLIN_CAVE_LEVEL3_UPGRADE_BUILDTIME		30 ; ; 60
#define	M_GOBLIN_CAVE_SHROUD_CLEAR			160
#define	M_GOBLIN_CAVE_VISION_RANGE			160
#define M_GOBLIN_CAVE_HEALTH				1500
#define M_GOBLIN_CAVE_HEALTH_DAMAGED			1000
#define M_GOBLIN_CAVE_HEALTH_REALLY_DAMAGED		500
#define	M_GOBLIN_CAVE_BOUNTY_VALUE			100
#define M_GOBLIN_CAVE_LVL2_EXP_NEEDED			2400
#define M_GOBLIN_CAVE_LVL3_EXP_NEEDED 			4800
#define	M_GOBLIN_CAVE_LVL1_EXP_AWARD 			50
#define	M_GOBLIN_CAVE_LVL2_EXP_AWARD 			60
#define	M_GOBLIN_CAVE_LVL3_EXP_AWARD 			70
#define	M_GOBLIN_CAVE_LVL2_HP_ADD	 			1500
#define	M_GOBLIN_CAVE_LVL3_HP_ADD	 			1500

#define M_GOBLIN_CAVE_LVL2_BUILD_SPEED 			1.10   
#define M_GOBLIN_CAVE_LVL3_BUILD_SPEED 			1.25 

;------------------------FISSURE-------------
#define M_GOBLIN_FISSURE_BUILDCOST			400 ; ; 700
#define M_GOBLIN_FISSURE_BUILDTIME			30
#define M_GOBLIN_FISSURE_LEVEL2_UPGRADE_COST		300 ; ; 500
#define M_GOBLIN_FISSURE_LEVEL2_UPGRADE_BUILDTIME 	30
#define M_GOBLIN_FISSURE_LEVEL3_UPGRADE_COST		1500 ; ; 1000
#define M_GOBLIN_FISSURE_LEVEL3_UPGRADE_BUILDTIME		60
#define	M_GOBLIN_FISSURE_SHROUD_CLEAR			160
#define	M_GOBLIN_FISSURE_VISION_RANGE			160
#define M_GOBLIN_FISSURE_HEALTH				1500
#define M_GOBLIN_FISSURE_HEALTH_DAMAGED			1000
#define M_GOBLIN_FISSURE_HEALTH_REALLY_DAMAGED		500
#define	M_GOBLIN_FISSURE_BOUNTY_VALUE			175
#define M_GOBLIN_FISSURE_LVL2_EXP_NEEDED			2400
#define M_GOBLIN_FISSURE_LVL3_EXP_NEEDED			4800
#define M_GOBLIN_FISSURE_LVL1_EXP_AWARD			50
#define M_GOBLIN_FISSURE_LVL2_EXP_AWARD			60
#define M_GOBLIN_FISSURE_LVL3_EXP_AWARD			70
#define M_GOBLIN_FISSURE_LVL2_HP_ADD			1500
#define M_GOBLIN_FISSURE_LVL3_HP_ADD			1500
#define M_GOBLIN_FISSURE_LVL2_BUILD_SPEED			1.10
#define M_GOBLIN_FISSURE_LVL3_BUILD_SPEED			1.25

;------------------------SPIDER PIT-------------
#define M_GOBLIN_SPIDERPIT_BUILDCOST			600
#define M_GOBLIN_SPIDERPIT_BUILDTIME			35 ; ; 30
#define M_GOBLIN_SPIDERPIT_LEVEL2_UPGRADE_COST		500
#define M_GOBLIN_SPIDERPIT_LEVEL2_UPGRADE_BUILDTIME 	30
#define M_GOBLIN_SPIDERPIT_LEVEL3_UPGRADE_COST		500 ; ; 1000
#define M_GOBLIN_SPIDERPIT_LEVEL3_UPGRADE_BUILDTIME	60
#define	M_GOBLIN_SPIDERPIT_SHROUD_CLEAR			160
#define	M_GOBLIN_SPIDERPIT_VISION_RANGE			160
#define M_GOBLIN_SPIDERPIT_HEALTH				1500
#define M_GOBLIN_SPIDERPIT_HEALTH_DAMAGED			1000
#define M_GOBLIN_SPIDERPIT_HEALTH_REALLY_DAMAGED		500
#define	M_GOBLIN_SPIDERPIT_BOUNTY_VALUE			150
#define M_GOBLIN_SPIDERPIT_LVL2_EXP_NEEDED		2400
#define M_GOBLIN_SPIDERPIT_LVL3_EXP_NEEDED		4800
#define M_GOBLIN_SPIDERPIT_LVL1_EXP_AWARD			50
#define M_GOBLIN_SPIDERPIT_LVL2_EXP_AWARD			60
#define M_GOBLIN_SPIDERPIT_LVL3_EXP_AWARD			70
#define M_GOBLIN_SPIDERPIT_LVL2_HP_ADD			1500
#define M_GOBLIN_SPIDERPIT_LVL3_HP_ADD			1500
#define M_GOBLIN_SPIDERPIT_LVL2_BUILD_SPEED		1.10
#define M_GOBLIN_SPIDERPIT_LVL3_BUILD_SPEED		1.25
#define M_GOBLIN_SPIDERPIT_VENOMSACK_UPGRADE_COST		200
#define M_GOBLIN_SPIDERPIT_VENOMSACK_UPGRADE_BUILDTIME		30
#define M_GOBLIN_SPIDERPIT_VENOMSACK_SCIENCE_UPGRADE_COST		1000
#define M_GOBLIN_SPIDERPIT_VENOMSACK_SCIENCE_UPGRADE_BUILDTIME	30


;------------------------TREASURE TROVE PIT-------------
#define M_GOBLIN_TREASURETROVE_BUILDCOST				1000
#define M_GOBLIN_TREASURETROVE_BUILDTIME				45
#define M_GOBLIN_TREASURETROVE_LEVEL2_UPGRADE_COST		500
#define M_GOBLIN_TREASURETROVE_LEVEL2_UPGRADE_BUILDTIME 		30
#define M_GOBLIN_TREASURETROVE_LEVEL3_UPGRADE_COST		1000
#define M_GOBLIN_TREASURETROVE_LEVEL3_UPGRADE_BUILDTIME		60
#define	M_GOBLIN_TREASURETROVE_SHROUD_CLEAR			160
#define	M_GOBLIN_TREASURETROVE_VISION_RANGE			160
#define M_GOBLIN_TREASURETROVE_HEALTH				1500
#define M_GOBLIN_TREASURETROVE_HEALTH_DAMAGED			1000
#define M_GOBLIN_TREASURETROVE_HEALTH_REALLY_DAMAGED		500
#define	M_GOBLIN_TREASURETROVE_BOUNTY_VALUE			250
#define M_GOBLIN_TREASURETROVE_LVL2_EXP_NEEDED			2400
#define M_GOBLIN_TREASURETROVE_LVL3_EXP_NEEDED			4800
#define M_GOBLIN_TREASURETROVE_LVL1_EXP_AWARD			50
#define M_GOBLIN_TREASURETROVE_LVL2_EXP_AWARD			60
#define M_GOBLIN_TREASURETROVE_LVL3_EXP_AWARD			70
#define M_GOBLIN_TREASURETROVE_LVL2_HP_ADD			1500
#define M_GOBLIN_TREASURETROVE_LVL3_HP_ADD			1500
#define M_GOBLIN_TREASURETROVE_LVL2_BUILD_SPEED			1.10
#define M_GOBLIN_TREASURETROVE_LVL3_BUILD_SPEED			1.25

;------------------------SKULL TOTEM -------------
#define M_SKULL_TOTEM_HEALTH				200
#define M_SKULL_TOTEM_STEALTH_DETECT_RATE			1000		; ms
#define M_SKULL_TOTEM_STEALTH_DETECT_RADIUS		400

;------------------------MINE SHAFT -------------

#define M_GOBLIN_MINE_BUILDCOST					300
#define M_GOBLIN_MINE_BUILDTIME					15

#define M_GOBLIN_MINE_HEALTH					1000 ; ; 2000
#define M_GOBLIN_MINE_HEALTH_DAMAGED				566 ; ; 1333
#define M_GOBLIN_MINE_HEALTH_REALLY_DAMAGED			200 ; ; 667


#define M_GOBLIN_MINE_LEVEL2_UPGRADE_COST				500
#define M_GOBLIN_MINE_LEVEL2_UPGRADE_BUILDTIME 			30
#define M_GOBLIN_MINE_LEVEL3_UPGRADE_COST				1000
#define M_GOBLIN_MINE_LEVEL3_UPGRADE_BUILDTIME			60
#define	M_GOBLIN_MINE_BOUNTY_VALUE				75
#define	M_GOBLIN_MINE_VISION_RANGE				160
#define	M_GOBLIN_MINE_SHROUD_CLEAR				300

#define M_GOBLIN_MINE_LVL2_EXP_NEEDED				1500
#define M_GOBLIN_MINE_LVL3_EXP_NEEDED 				3000
#define	M_GOBLIN_MINE_LVL1_EXP_AWARD 				40
#define	M_GOBLIN_MINE_LVL2_EXP_AWARD 				50
#define	M_GOBLIN_MINE_LVL3_EXP_AWARD 				60

#define M_GOBLIN_MINE_LVL2_HP_ADD					500
#define M_GOBLIN_MINE_LVL3_HP_ADD					1000

#define M_GOBLIN_MINE_MONEY_TIME 					6000
#define M_GOBLIN_MINE_MONEY_AMOUNT				25
#define M_GOBLIN_MINE_MONEY_RANGE					300

#define	M_GOBLIN_MINE_TREE_LVL2_HP_ADD	 			1500
#define	M_GOBLIN_MINE_TREE_LVL3_HP_ADD	 			1500

;//------------------------SENTRY TOWER-------------
#define M_WILD_SENTRY_TOWER_HEALTH					2200 ; ; 1500
#define M_WILD_SENTRY_TOWER_DAMAGED					1000
#define M_WILD_SENTRY_TOWER_REALLY_DAMAGED				500
#define M_WILD_SENTRY_TOWER_BUILDCOST					500
#define M_WILD_SENTRY_TOWER_BUILDTIME					45 ; ; 60
#define M_WILD_SENTRY_TOWER_ARROW_UPGRADE_BUILDTIME			30
#define M_WILD_SENTRY_TOWER_ARROW_UPGRADE_BUILDCOST			500

;//------------------------WILD ARROW DEN EXPANSION-------------
#define M_WILD_ARROWDENEXPANSION_HEALTH					1000
#define M_WILD_ARROWDENEXPANSION_HEALTH_DAMAGED				500
#define M_WILD_ARROWDENEXPANSION_HEALTH_REALLY_DAMAGED			250
#define M_WILD_ARROWDENEXPANSION_BUILD_COST				370 ; ; 500
#define M_WILD_ARROWDENEXPANSION_BUILD_TIME				15 ; ; 5

;//------------------------WILD SPIDER HOLES EXPANSION-------------
#define M_WILD_SPIDERHOLESEXPANSION_HEALTH				1000
#define M_WILD_SPIDERHOLESEXPANSION_HEALTH_DAMAGED			500
#define M_WILD_SPIDERHOLESEXPANSION_HEALTH_REALLY_DAMAGED			250
#define M_WILD_SPIDERHOLESEXPANSION_BUILD_COST				400 ; ; 500
#define M_WILD_SPIDERHOLESEXPANSION_BUILD_TIME				15 ; ; 5

;//------------------------WILD BURROWS EXPANSION-------------
#define M_WILD_BURROWEXPANSION_HEALTH					1000
#define M_WILD_BURROWEXPANSION_HEALTH_DAMAGED				500
#define M_WILD_BURROWEXPANSION_HEALTH_REALLY_DAMAGED			250
#define M_WILD_BURROWEXPANSION_BUILD_COST					450 ; ; 700
#define M_WILD_BURROWEXPANSION_BUILD_TIME					5
#define M_WILD_BURROWEXPANSION_BOUNTY_VALUE				175

#define M_WILD_BURROWEXPANSION_FIRE_FUEL					140
#define M_WILD_BURROWEXPANSION_FIRE_MAX_BURN_RATE				20
#define M_WILD_BURROWEXPANSION_FIRE_DECAY					5
#define M_WILD_BURROWEXPANSION_FIRE_RESISTANCE				10

;//------------------------MenTrebuchetExpansion-------------
#define M_WILD_GIANTSENTRYEXPANSION_BUILDCOST				1200
#define M_WILD_GIANTSENTRYEXPANSION_BUILDTIME				30
#define M_WILD_GIANTSENTRYEXPANSION_VISION_RANGE				500
#define	M_WILD_GIANTSENTRYEXPANSION_SHROUD_CLEAR				500
#define M_WILD_GIANTSENTRYEXPANSION_HEALTH				1500
#define M_WILD_GIANTSENTRYEXPANSION_HEALTH_DAMAGED			1000
#define M_WILD_GIANTSENTRYEXPANSION_HEALTH_REALLY_DAMAGED			500
#define M_WILD_GIANTSENTRYEXPANSION_DELAYBETWEENSHOTS			4000
#define M_WILD_GIANTSENTRYEXPANSION_PREATTACKDELAY			3300
#define M_WILD_GIANTSENTRYEXPANSION_FIRINGDURATION			800
#define M_WILD_GIANTSENTRYEXPANSION_RANGE					500
#define M_WILD_GIANTSENTRYEXPANSION_WEAPONSPEED				300

;//------------------------UNITS-----------------------------------------------------------------------------

;------------------------SHELOB-------------
#define M_WILD_SHELOB_BUILDCOST			2000
#define M_WILD_SHELOB_BUILDTIME			50 ;15 ; ; 45
#define M_WILD_SHELOB_HEALTH				4000 ; ; 4500
#define M_WILD_SHELOB_HEALTH_DAMAGED			2250
#define M_WILD_SHELOB_HEALTH_RECOVERY_TIME		10000
#define	M_WILD_SHELOB_VISION_RANGE 			175



#define M_WILD_SHELOB_TUNNEL_DISTANCE			9999999

#define	M_WILD_SHELOB_BOUNTY_VALUE  500

#define M_WILD_SHELOB_STINGER_PREATTACKDELAY 	600
#define M_WILD_SHELOB_STINGER_DELAYBETWEENSHOTS 	600
#define M_WILD_SHELOB_STINGER_FIRINGDURATION 	1000 ;600
#define M_WILD_SHELOB_STINGER_DAMAGE				250
;#define WILD_SHELOB_STINGER_POISON_DAMAGE		10

#define	M_WILD_SHELOB_LVL1_EXP_AWARD 				70
#define	M_WILD_SHELOB_LVL2_EXP_AWARD 				80
#define	M_WILD_SHELOB_LVL3_EXP_AWARD 				90
#define	M_WILD_SHELOB_LVL4_EXP_AWARD 				100
#define	M_WILD_SHELOB_LVL5_EXP_AWARD 				120
#define	M_WILD_SHELOB_LVL6_EXP_AWARD 				150
#define	M_WILD_SHELOB_LVL7_EXP_AWARD 				180
#define	M_WILD_SHELOB_LVL8_EXP_AWARD 				210
#define	M_WILD_SHELOB_LVL9_EXP_AWARD 				250
#define	M_WILD_SHELOB_LVL10_EXP_AWARD 				300

#define	M_WILD_SHELOB_LVL2_EXP_NEEDED 			50 ;200 
#define	M_WILD_SHELOB_LVL3_EXP_NEEDED 			100 ;400 
#define	M_WILD_SHELOB_LVL4_EXP_NEEDED 			150 ;600  ; ; 200
#define	M_WILD_SHELOB_LVL5_EXP_NEEDED 			340 ;800  ; ; 300
#define	M_WILD_SHELOB_LVL6_EXP_NEEDED 			530 ;1000  ; ; 400
#define	M_WILD_SHELOB_LVL7_EXP_NEEDED 			720 ;1200  ; ; 500
#define	M_WILD_SHELOB_LVL8_EXP_NEEDED 			1120 ;1400  ; ; 600
#define	M_WILD_SHELOB_LVL9_EXP_NEEDED 			1520 ;1600  ; ; 700
#define	M_WILD_SHELOB_LVL10_EXP_NEEDED 			1920 ;2000 ; ; 800

;------------------------PORTER-------------
#define M_WILD_PORTER_BUILDCOST				500
#define M_WILD_PORTER_BUILDTIME				30
#define M_WILD_PORTER_HEALTH				500
#define M_WILD_PORTER_HEALTH_DAMAGED			250
#define M_WILD_PORTER_HEALTH_RECOVERY_TIME		10000
#define	M_WILD_PORTER_VISION_RANGE 			50
#define	M_WILD_PORTER_SHROUD_RANGE 			100

#define	M_WILD_PORTER_BOUNTY_VALUE      125
;//------------------------FIGHTER-------------
#define	M_GOBLIN_FIGHTER_BUILDCOST			75
#define	M_GOBLIN_FIGHTER_BUILDTIME			30
#define	M_GOBLIN_FIGHTER_DAMAGE				12 ; ; 20
#define M_GOBLIN_FIGHTER_FORGEDBLADES_UPGRADE		40
#define	M_GOBLIN_FIGHTER_HEALTH				50 ; ; 75
#define	M_GOBLIN_FIGHTER_HEALTH_DAMAGED			20

#define	M_GOBLIN_FIGHTER_BOUNTY_VALUE			1
#define M_GOBLIN_FIGHTER_PREATTACKDELAY 			522
#define M_GOBLIN_FIGHTER_DELAYBETWEENSHOTS 		245 
#define M_GOBLIN_FIGHTER_FIRINGDURATION 			245

#define M_GOBLIN_FIGHTER_HORDE_VISION_RANGE      		175
#define M_GOBLIN_FIGHTER_SHROUD_RANGE            		300
#define M_GOBLIN_FIGHTER_VISION_RANGE        		175

;------------------------ARCHER-------------
#define	M_GOBLIN_ARCHER_BUILDCOST				350 ; ; 200
#define	M_GOBLIN_ARCHER_BUILDTIME				30

#define	M_GOBLIN_ARCHER_HEALTH				80
#define	M_GOBLIN_ARCHER_HEALTH_DAMAGED			40
#define	M_GOBLIN_ARCHER_BOUNTY_VALUE			3
#define M_GOBLIN_ARCHER_PREATTACKDELAY 			1000
#define M_GOBLIN_ARCHER_BOW_RELOADTIME_MIN		1250 ; ; 1500
#define M_GOBLIN_ARCHER_BOW_RELOADTIME_MAX		1600 ; ; 2000
#define	M_GOBLIN_ARCHER_VISION_RANGE			400
#define	M_GOBLIN_ARCHER_HORDE_VISION_RANGE		400
#define M_GOBLIN_ARCHER_SHROUD_RANGE			450

;orc archers miss 50% so they get double damage
#define	M_GOBLIN_ARCHER_DAMAGE				20
#define	M_GOBLIN_ARCHER_DAMAGE_MELEE			4

#define	M_GOBLIN_ARCHER_RANGE						275
#define	M_GOBLIN_ARCHER_BOMBARD_MINRANGE			150
#define	M_GOBLIN_ARCHER_BOMBARD_MAXRANGE			315 ; ; 275

#define M_GOBLIN_ARCHER_DAMAGE_FIRE_PIERCE    		20
#define M_GOBLIN_ARCHER_DAMAGE_FIRE_FLAME     		20

;#define M_GOBLIN_ARCHER_HORDE_VISION_RANGE       	200
;#define M_GOBLIN_ARCHER_SHROUD_RANGE             	200
//------------------------Spiderling-----------
#define M_WILD_SPIDERLING_DAMAGE				50 ; ; 75

#define M_WILD_SPIDERLING_HEALTH				300
#define M_WILD_SPIDERLING_HEALTH_DAMAGED			150

#define M_WILD_SPIDERLING_BOUNTY_VALUE			10

#define M_WILD_SPIDERLING_BUILD_COST			300
#define M_WILD_SPIDERLING_BUILD_TIME			30

#define M_WILD_SPIDERLING_VISION_RANGE			175
#define M_WILD_SPIDERLING_HORDE_VISION_RANGE		175
#define M_WILD_SPIDERLING_SHROUD_RANGE			300

;-------------------- Summoned Spiderlings ------------------

#define M_WILD_SUMMONED_SPIDERLING_HEALTH				750
#define M_WILD_SUMMONED_SPIDERLING_HEALTH_DAMAGED			375

#define M_WILD_SUMMONED_SPIDERLING_DAMAGE				250

//------------------------Spider Holes Spiderling----
#define M_WILD_SPIDERLING_SLAVED_VISION_RANGE			175
#define M_WILD_SPIDERLING_SLAVED_SHROUD_RANGE			175

#define M_WILD_SPIDERLING_SLAVED_DAMAGE				100
#define M_WILD_SPIDERLING_SLAVED_HEALTH				300
#define M_WILD_SPIDERLING_SLAVED_HEALTH_DAMAGED		50

#define M_WILD_SPIDERLING_SLAVED_BOUNTY_VALUE			5

;------------------------Spider Rider-----------
#define M_WILD_SPIDERRIDER_HEALTH				700 ; ; 600
#define M_WILD_SPIDERRIDER_HEALTH_DAMAGED			300
#define M_WILD_SPIDERRIDER_BOUNTTY_VALUE			20
#define M_WILD_SPIDERRIDER_BUILD_COST			600
#define M_WILD_SPIDERRIDER_BUILD_TIME			30

#define M_WILD_SPIDERRIDER_HORDE_VISION_RANGE      	275 ; ; 300
#define M_WILD_SPIDERRIDER_VISION_RANGE      		275 ; ; 300
#define M_WILD_SPIDERRIDER_SHROUD_RANGE      		300

;Bow
#define M_WILD_SPIDERRIDER_BOW_PREATTACKDELAY       	567			;match animation
#define M_WILD_SPIDERRIDER_BOW_RELOADTIME_MIN       	1250
#define M_WILD_SPIDERRIDER_BOW_RELOADTIME_MAX       	2000

;Sword
#define M_WILD_SPIDERRIDER_SWORD_PREATTACKDELAY     	700
#define M_WILD_SPIDERRIDER_SWORD_DELAYBETWEENSHOTS  	1500
#define M_WILD_SPIDERRIDER_SWORD_FIRINGDURATION     	800

#define M_WILD_SPIDERRIDER_RANGE				400
#define M_WILD_SPIDERRIDER_BOW_DAMAGE             	        40  ; ; 50
#define M_WILD_SPIDERRIDER_FIRE_UPGRADE_DAMAGE       	40  ; ; 50
#define M_WILD_SPIDERRIDER_FIRE_UPGRADE_DAMAGE_FLAME  	30 ; ; ; 25


#define M_WILD_SPIDERRIDER_MELEE_DAMAGE               	120 ;was not used in BFME...added to weapon for patch 1.02 ; ; 150
#define M_WILD_SPIDERRIDER_MELEE_DAMAGE_UPGRADE       	200 ; ; 300
  



;------------------------Mountain Giant-----------
#define M_WILD_MOUNTAIN_GIANT_BUILDCOST				1300 ; ; 1000
#define M_WILD_MOUNTAIN_GIANT_BOUNTYVALUE				250		;; GREG BALANCE ME
#define M_WILD_MOUNTAIN_GIANT_BUILDTIME				45
#define M_WILD_MOUNTAIN_GIANT_HEALTH				4000
#define M_WILD_MOUNTAIN_GIANT_HEALTH_DAMAGED			2000
#define M_WILD_MOUNTAIN_GIANT_VISION_RADIUS			500
#define M_WILD_MOUNTAIN_GIANT_SHROUD_RADIUS			500

#define M_WILD_MOUNTAIN_GIANT_SPEED					55

#define	M_WILD_MOUNTAIN_GIANT_PUNCH_DAMAGE			600
#define	M_WILD_MOUNTAIN_GIANT_PUNCH_RADIUS			50
#define	M_WILD_MOUNTAIN_GIANT_KICK_DAMAGE				600
#define	M_WILD_MOUNTAIN_GIANT_KICK_RADIUS				20
#define	M_WILD_MOUNTAIN_GIANT_ROCK_DAMAGE		        400
#define	M_WILD_MOUNTAIN_GIANT_ROCK_RANGE				500 ;600
#define M_WILD_MOUNTAIN_GIANT_ROCK_MINRANGE			200
#define	M_WILD_MOUNTAIN_GIANT_BUILDINGATTACK_DAMAGE	600
#define	M_WILD_MOUNTAIN_GIANT_ANTIMONSTER_DAMAGE		600

#define	M_WILD_MOUNTAIN_GIANT_BOUNTY_VALUE			250

// Using rock and smashing straight down at targets too close to throw at
#define M_WILD_MOUNTAIN_GIANT_ROCK_MELEE_DAMAGE		20
#define M_WILD_MOUNTAIN_GIANT_ROCK_MELEE_RADIUS		20

// Stomp special ability
#define M_WILD_MOUNTAIN_GIANT_STOMP_RADIUS			50
#define M_WILD_MOUNTAIN_GIANT_STOMP_DAMAGE			1000

// Dead Giant falling and crushing anything below
#define M_WILD_MOUNTAIN_GIANT_DEATH_RADIUS			30
#define M_WILD_MOUNTAIN_GIANT_DEATH_DAMAGE			100

;------------------------Marauder-------------
#define M_WILD_MARAUDER_BUILDCOST						500 ; ; 450
#define M_WILD_MARAUDER_BUILDTIME						30
#define	M_WILD_MARAUDER_VISION_RANGE 					175
#define	M_WILD_MARAUDER_SHROUD_RANGE					300
#define	M_WILD_MARAUDER_HORDE_VISION_RANGE 				175
#define M_WILD_MARAUDER_HEALTH						600
#define M_WILD_MARAUDER_HEALTH_DAMAGED					150
#define M_WILD_MARAUDER_HEALTH_RECOVERY_TIME				10000

#define M_WILD_MARAUDER_STAB_PREATTACKDELAY 				600
#define M_WILD_MARAUDER_STAB_DELAYBETWEENSHOTS 				1400 ; ; 900
#define M_WILD_MARAUDER_STAB_FIRINGDURATION 				1400 ; ; 900
#define M_WILD_MARAUDER_STAB_DAMAGE					100
#define M_WILD_MARAUDER_DAMAGE_UPGRADE					200
#define	M_WILD_MARAUDER_BOUNTY_VALUE					14

;---------------WILD TECHNOLOGY AND UPGRADES--
#define M_WILD_PERSONAL_BASIC_TRAINING_BUILDCOST				150 ; ; 250
#define M_WILD_PERSONAL_BASIC_TRAINING_BUILDTIME				10

#define M_WILD_TECH_BASIC_TRAINING_BUILDCOST				600 ; ; 1000
#define M_WILD_TECH_BASIC_TRAINING_BUILDTIME				30

#define M_WILD_PERSONAL_FIRE_ARROWS_BUILDCOST				250
#define M_WILD_PERSONAL_FIRE_ARROWS_BUILDTIME				10

#define M_WILD_TECH_FIRE_ARROWS_BUILDCOST					1000
#define M_WILD_TECH_FIRE_ARROWS_BUILDTIME					30


#define M_WILD_PERSONAL_FORGED_BLADES_BUILDCOST				250
#define M_WILD_PERSONAL_FORGED_BLADES_BUILDTIME				10

#define M_WILD_TECH_FORGED_BLADES_BUILDCOST				1000
#define M_WILD_TECH_FORGED_BLADES_BUILDTIME				30


#define M_WILD_PERSONAL_HEAVY_ARMOR_BUILDCOST				250
#define M_WILD_PERSONAL_HEAVY_ARMOR_BUILDTIME				10

#define M_WILD_TECH_HEAVY_ARMOR_BUILDCOST					1000
#define M_WILD_TECH_HEAVY_ARMOR_BUILDTIME					30


//------------------------ELVES------------------------
//------------------------STRUCTURES------------------
//------------------------ELVEN FORTRESS-------------
#define M_ELVEN_FORTRESS_BUILDCOST					5000
#define M_ELVEN_FORTRESS_BUILDTIME					120
#define M_ELVEN_FORTRESS_VISION_RANGE					400
#define	M_ELVEN_FORTRESS_SHROUD_CLEAR					800
#define M_ELVEN_FORTRESS_HEALTH						7500
#define M_ELVEN_FORTRESS_HEALTH_DAMAGED					5000
#define M_ELVEN_FORTRESS_HEALTH_REALLY_DAMAGED				2500
#define	M_ELVEN_FORTRESS_BOUNTY_VALUE					1250

#define M_ELVEN_FORTRESS_WALL_EFFECTIVE_RADIUS				1500

#define M_ELVEN_FORTRESS_FIRE_FUEL					140
#define M_ELVEN_FORTRESS_FIRE_MAX_BURN_RATE				20
#define M_ELVEN_FORTRESS_FIRE_DECAY					5
#define M_ELVEN_FORTRESS_FIRE_RESISTANCE					10

;//Encasing Vines Improvement
#define M_ELVEN_ENCASINGVINES_BUILDCOST				1600 ; ; 2000
#define M_ELVEN_ENCASINGVINES_BUILDTIME				30
#define M_ELVEN_ENCASINGVINES_HEALTH_BONUS			0 ; Nerfing the Fortress Armor Upgrade -GB

#define M_ELVEN_ENCASINGVINES_EXPANSION_HEALTH_BONUS	0 ; Nerfing the Fortress Armor Upgrade -GB
#define M_ELVEN_ENCASINGVINES_EXPANSION_ARMOR_BONUS	0.35 ; ; .5

;//Mystic Fountains Improvement
#define M_ELVEN_MYSTICFOUNTAINS_BUILDCOST				750 ; ; 1500
#define M_ELVEN_MYSTICFOUNTAINS_BUILDTIME				30

;//Enchanted Anvil Improvement
#define M_ELVEN_ENCHANTEDANVIL_BUILDCOST				500
#define M_ELVEN_ENCHANTEDANVIL_BUILDTIME				30

;//Blessed Mist Improvement
#define M_ELVEN_BLESSEDMIST_BUILDCOST					1000
#define M_ELVEN_BLESSEDMIST_BUILDTIME					30

;//Crystal Moat Improvement
#define M_ELVEN_CRYSTALMOAT_BUILDCOST					1000
#define M_ELVEN_CRYSTALMOAT_BUILDTIME					30

;//Eagles and whatnot
#define M_ELVEN_EAGLENEST_BUILDCOST					2000 ; ; 2500
#define M_ELVEN_EAGLENEST_BUILDTIME					30

#define M_ELVEN_EAGLE_BUILDCOST						1000 ; ; 2000
#define M_ELVEN_EAGLE_BUILDTIME						60

;//------------------------ELVEN WATCHTOWER EXPANSION-------------
#define M_ELVEN_WATCHTOWEREXPANSION_BUILDCOST				370 ; ; 500
#define M_ELVEN_WATCHTOWEREXPANSION_BUILDTIME				20 ; ; 30
#define M_ELVEN_WATCHTOWEREXPANSION_HEALTH				1000
#define M_ELVEN_WATCHTOWEREXPANSION_HEALTH_DAMAGED			500
#define M_ELVEN_WATCHTOWEREXPANSION_HEALTH_REALLY_DAMAGED			250
#define	M_ELVEN_WATCHTOWEREXPANSION_BOUNTY_VALUE				125

#define M_ELVEN_WATCHTOWEREXPANSION_FIRE_FUEL				100
#define M_ELVEN_WATCHTOWEREXPANSION_FIRE_MAX_BURN_RATE			20
#define M_ELVEN_WATCHTOWEREXPANSION_FIRE_DECAY				5
#define M_ELVEN_WATCHTOWEREXPANSION_FIRE_RESISTANCE			10

;//------------------------ELVEN VIGILANT ENT EXPANSION-----------
#define M_ELVEN_VIGILANTENTEXPANSION_BUILDCOST				900 ; ; 1200
#define M_ELVEN_VIGILANTENTEXPANSION_BUILDTIME				30
#define M_ELVEN_VIGILANTENTEXPANSION_HEALTH				1000
#define M_ELVEN_VIGILANTENTEXPANSION_HEALTH_DAMAGED			500
#define M_ELVEN_VIGILANTENTEXPANSION_HEALTH_REALLY_DAMAGED		250
#define	M_ELVEN_VIGILANTENTEXPANSION_BOUNTY_VALUE				200

#define M_ELVEN_VIGILANTENTEXPANSION_FIRE_FUEL				100
#define M_ELVEN_VIGILANTENTEXPANSION_FIRE_MAX_BURN_RATE			20
#define M_ELVEN_VIGILANTENTEXPANSION_FIRE_DECAY				5
#define M_ELVEN_VIGILANTENTEXPANSION_FIRE_RESISTANCE			10

//Vigilant Ent Weapon
#define M_ELVEN_VIGILANTENT_ROCK_RANGE						600
#define M_ELVEN_VIGILANTENT_ROCK_DAMAGE						500
#define M_ELVEN_VIGILANTENT_ROCK_RANGE_MIN					200

;//------------------------ELVEN FLOODGATE EXPANSION-----------
#define M_ELVEN_FLOODGATEEXPANSION_BUILDCOST					1500
#define M_ELVEN_FLOODGATEEXPANSION_BUILDTIME					30
#define M_ELVEN_FLOODGATEEXPANSION_HEALTH						1000
#define M_ELVEN_FLOODGATEEXPANSION_HEALTH_DAMAGED				500
#define M_ELVEN_FLOODGATEEXPANSION_HEALTH_REALLY_DAMAGED		250
#define	M_ELVEN_FLOODGATEEXPANSION_BOUNTY_VALUE				375

#define M_ELVEN_FLOODGATEEXPANSION_DELAYBETWEENSHOTS			20000
#define M_ELVEN_FLOODGATEEXPANSION_PREATTACKDELAY				2500
#define M_ELVEN_FLOODGATEEXPANSION_FIRINGDURATION				3000
#define M_ELVEN_FLOODGATEEXPANSION_RANGE						100
#define M_ELVEN_FLOODGATE_EXPANSION_FLOOD_HORSE_DAMAGE		142
#define M_ELVEN_FLOODGATE_EXPANSION_FLOOD_HORSE_RADIUS		40.0

#define M_ELVEN_FLOODGATEEXPANSION_DECREASEBURNRATE_RADIUS	50.0
#define M_ELVEN_FLOODGATEEXPANSION_DECREASEBURNRATE_AMOUNT	100.0

;------------------------ElvenCastleWallHub-------------
#define M_ELVEN_CASTLE_WALLHUB_BUILDCOST				150
#define M_ELVEN_CASTLE_WALLHUB_BUILDTIME				60 ; ; 20
#define M_ELVEN_CASTLE_WALLHUB_VISION_RANGE			160
#define M_ELVEN_CASTLE_WALLHUB_SHROUD_CLEAR			160
#define M_ELVEN_CASTLE_WALLHUB_HEALTH					1500
#define M_ELVEN_CASTLE_WALLHUB_HEALTH_DAMAGED			1000
#define M_ELVEN_CASTLE_WALLHUB_HEALTH_REALLY_DAMAGED	500

;------------------------ElvenCastleWallSegment-------------
#define M_ELVEN_CASTLE_WALLSEGMENT_BUILDCOST			40
#define M_ELVEN_CASTLE_WALLSEGMENT_BUILDTIME			30 ; ; 20
#define M_ELVEN_CASTLE_WALLSEGMENT_VISION_RANGE		160
#define M_ELVEN_CASTLE_WALLSEGMENT_SHROUD_CLEAR		160
#define M_ELVEN_CASTLE_WALLSEGMENT_HEALTH				1500
#define M_ELVEN_CASTLE_WALLSEGMENT_HEALTH_DAMAGED		1000
#define M_ELVEN_CASTLE_WALLSEGMENT_HEALTH_REALLY_DAMAGED	500

;------------------------ElvenCastleWallGate-------------
#define M_ELVEN_CASTLE_WALLGATE_BUILDCOST				350 ; ; 500
#define M_ELVEN_CASTLE_WALLGATE_BUILDTIME				20
#define M_ELVEN_CASTLE_WALLGATE_VISION_RANGE			160
#define M_ELVEN_CASTLE_WALLGATE_SHROUD_CLEAR			160
#define M_ELVEN_CASTLE_WALLGATE_HEALTH				1500
#define M_ELVEN_CASTLE_WALLGATE_HEALTH_DAMAGED		1000
#define M_ELVEN_CASTLE_WALLGATE_HEALTH_REALLY_DAMAGED	500

 ;------------------------STATUE-------------
#define M_ELVEN_STATUE_BUILDCOST					350 ; ; 300
#define M_ELVEN_STATUE_BUILDTIME					45
#define	M_ELVEN_STATUE_VISION_RANGE 			300
#define	M_ELVEN_STATUE_SHROUD_CLEAR			300
#define M_ELVEN_STATUE_HEALTH					1000
#define M_ELVEN_STATUE_HEALTH_DAMAGED			666
#define M_ELVEN_STATUE_HEALTH_REALLY_DAMAGED	333
#define	M_ELVEN_STATUE_BOUNTY_VALUE			38

#define M_ELVEN_STATUE_AOE_RADIUS				200
#define M_ELVEN_STATUE_AOE_RADIUS_DECAL		440 // should be about 2.2 times the radius
#define M_ELVEN_STATUE_REFUND_VALUE			75
   
 ;------------------------MOOT-------------
#define M_ELVEN_ENT_MOOT_COST					700 ; ; 1000
#define M_ELVEN_ENT_REFUND_AMOUNT					500
#define M_ELVEN_ENT_MOOT_BUILD_TIME 				40 ; ; 60
#define M_ELVEN_ENT_MOOT_HEALTH					6000
 
 ;------------------------WELL-------------
#define M_ELVEN_WELL_BUILDCOST					300
#define M_ELVEN_WELL_BUILDTIME					45
#define M_ELVEN_WELL_VISIONRANGE					400
#define M_ELVEN_WELL_SHROUDCLEAR					400
#define M_ELVEN_WELL_MAXHEALTH					1000
#define M_ELVEN_WELL_MAXHEALTHDAMAGED				666
#define M_ELVEN_WELL_MAXHEALTH_REALLYDAMAGED		333
#define M_ELVEN_WELL_BOUNTY_VALUE				50
;------------------------MEN----------------------------
;------------------------UNITS------------------------
;------------------------PORTER-------------
#define M_MEN_PORTER_BUILDCOST				500
#define M_MEN_PORTER_BUILDTIME				30
#define M_MEN_PORTER_HEALTH				500
#define M_MEN_PORTER_HEALTH_DAMAGED			250
#define M_MEN_PORTER_HEALTH_RECOVERY_TIME			10000
#define	M_MEN_PORTER_VISION_RANGE 			25
#define	M_MEN_PORTER_SHROUD_RANGE 			100

#define	M_MEN_PORTER_BOUNTY_VALUE       			125

;------------------------GONDOR----------------------------
;------------------------UNITS------------------------
;------------------------PEASANT-------------
#define M_GONDOR_PEASANT_BUILDCOST			80
#define M_GONDOR_PEASANT_BUILDTIME			20 ;15
#define M_GONDOR_PEASANT_HEALTH				60
#define M_GONDOR_PEASANT_HEALTH_DAMAGED			60
#define M_GONDOR_PEASANT_HEALTH_RECOVERY_TIME		10000
#define	M_GONDOR_PEASANT_VISION_RANGE 			100

#define	M_GONDOR_PEASANT_BOUNTY_VALUE       		20

;------------------------SOLDIER-------------
#define M_GONDOR_SOLDIER_BUILDCOST                 200
#define M_GONDOR_SOLDIER_BUILDTIME                  20 ;20
#define M_GONDOR_SOLDIER_HEALTH                    200
#define M_GONDOR_SOLDIER_HEALTH_DAMAGED            100
#define M_GONDOR_SOLDIER_HEALTH_RECOVERY_TIME    10000

#define M_GONDOR_SOLDIER_VISION_RANGE              175 
#define M_GONDOR_SOLDIER_SHROUD_RANGE              400 

#define M_GONDOR_SOLDIER_HORDE_VISION_RANGE        175
#define M_GONDOR_SOLDIER_HORDE_SHROUD_RANGE	 400


#define M_GONDOR_SOLDIER_SWORD                      40
#define M_GONDOR_SOLDIER_SWORD_UPGRADE              90 ; ; 80
#define M_GONDOR_SOLDIER_SWORD_PREATTACKDELAY      500
#define M_GONDOR_SOLDIER_SWORD_DELAYBETWEENSHOTS  1000
#define M_GONDOR_SOLDIER_SWORD_FIRINGDURATION     1000
#define M_GONDOR_SOLDIER_BOUNTY_VALUE                4

;------------------------ARCHER-------------
#define M_GONDOR_ARCHER_BUILDCOST                 200 ;200 ; ; 250
#define M_GONDOR_ARCHER_BUILDTIME                  20 ; 20
#define M_GONDOR_ARCHER_HEALTH                    100 ; 80
#define M_GONDOR_ARCHER_HEALTH_DAMAGED            50 ; 80
#define M_GONDOR_ARCHER_HEALTH_RECOVERY_TIME    10000
#define M_GONDOR_ARCHER_VISION_RANGE              360
#define M_GONDOR_ARCHER_HORDE_VISION_RANGE        370
#define M_GONDOR_ARCHER_HORDE_SHROUD_RANGE        400

#define M_GONDOR_ARCHER_RANGE                     300
#define M_GONDOR_ARCHER_BOMBARD_MINRANGE          150
#define M_GONDOR_ARCHER_BOMBARD_MAXRANGE          345 ; ; 300

#define M_GONDOR_ARCHER_DAMAGE                     25  
#define M_GONDOR_ARCHER_FIRE_UPGRADE_DAMAGE        	32  ; ; 25
#define M_GONDOR_ARCHER_FIRE_UPGRADE_FLAME         	25 

#define M_GONDOR_ARCHER_BOW_PREATTACKDELAY       200 ; ; 1000
#define M_GONDOR_ARCHER_BOW_RELOADTIME_MIN       1500
#define M_GONDOR_ARCHER_BOW_RELOADTIME_MAX       2000
#define M_GONDOR_ARCHER_BOUNTY_VALUE                4

;------------------------KNIGHT-------------
#define M_GONDOR_KNIGHT_BUILDCOST                 550 ; ; 500
#define M_GONDOR_KNIGHT_BUILDTIME                  25 
#define M_GONDOR_KNIGHT_HEALTH                    600 ;240 ; ; 400
#define M_GONDOR_KNIGHT_HEALTH_DAMAGED            300 ;240 ; ; 200
#define M_GONDOR_KNIGHT_HEALTH_RECOVERY_TIME    10000
#define M_GONDOR_KNIGHT_VISION_RANGE              275 ;Probably Irrelevant, check generic shroud / vision clearing numbers -GB ; ; 175
#define M_GONDOR_KNIGHT_HORDE_VISION_RANGE        275 ; ; 175
#define M_GONDOR_KNIGHT_HORDE_SHROUD_RANGE        300

#define M_GONDOR_KNIGHT_DAMAGE                     35 ; ; 60
#define M_GONDOR_KNIGHT_FORGEDBLADES_UPGRADE      70  ; ; 120
#define M_GONDOR_KNIGHT_PREATTACKDELAY            500  
#define M_GONDOR_KNIGHT_DELAYBETWEENSHOTS        1000 
#define M_GONDOR_KNIGHT_FIRINGDURATION           1000 
#define M_GONDOR_KNIGHT_BOUNTY_VALUE               10

;------------------------TOWERGUARD-------------
#define M_GONDOR_TOWERGUARD_BUILDCOST                   400 ; ; 350
#define M_GONDOR_TOWERGUARD_BUILDTIME                    20 ;30
#define M_GONDOR_TOWERGUARD_HEALTH                      320
#define M_GONDOR_TOWERGUARD_HEALTH_DAMAGED              160
#define M_GONDOR_TOWERGUARD_HEALTH_RECOVERY_TIME      10000
#define M_GONDOR_TOWERGUARD_VISION_RANGE                175
#define M_GONDOR_TOWERGUARD_HORDE_VISION_RANGE          175
#define M_GONDOR_TOWERGUARD_HORDE_SHROUD_RANGE          400

#define M_GONDOR_TOWERGUARD_DAMAGE                       50
#define M_GONDOR_TOWERGUARD_FORGEDBLADES_UPGRADE_DAMAGE 115 ; ; 100
#define M_GONDOR_TOWERGUARD_PREATTACKDELAY              500
#define M_GONDOR_TOWERGUARD_DELAYBETWEENSHOTS          1000 ;1500
#define M_GONDOR_TOWERGUARD_FIRINGDURATION             1000 ;1500
#define M_GONDOR_TOWERGUARD_BOUNTY_VALUE                 5

;------------------------RANGER-------------
#define M_GONDOR_RANGER_BUILDCOST                 600 ; ; 500
#define M_GONDOR_RANGER_BUILDTIME                  30
#define M_GONDOR_RANGER_HEALTH                    300 ;120 ; ; 400
#define M_GONDOR_RANGER_HEALTH_DAMAGED            200 ;120
#define M_GONDOR_RANGER_HEALTH_RECOVERY_TIME    10000
#define M_GONDOR_RANGER_VISION_RANGE              480
#define M_GONDOR_RANGER_HORDE_VISION_RANGE        470
#define M_GONDOR_RANGER_HORDE_SHROUD_RANGE        500

#define M_GONDOR_RANGER_RANGE                     400
#define M_GONDOR_RANGER_BOMBARD_MINRANGE          150
#define M_GONDOR_RANGER_BOMBARD_MAXRANGE          460 ; ; 400

#define M_GONDOR_RANGER_DAMAGE                     65 ; ; 75
#define M_GONDOR_RANGER_SWORD_DAMAGE               20
#define M_GONDOR_RANGER_SWORD_DAMAGE_UPGRADE       40

#define M_GONDOR_RANGER_FIRE_UPGRADE_DAMAGE        90 ;10  ; ; 100
#define M_GONDOR_RANGER_FIRE_UPGRADE_DAMAGE_FLAME  18 ;20 ; ; 50

#define M_GONDOR_RANGER_BOW_PREATTACKDELAY       400 ; ; 1000
#define M_GONDOR_RANGER_BOW_RELOADTIME_MIN       1500
#define M_GONDOR_RANGER_BOW_RELOADTIME_MAX       2000
#define M_GONDOR_RANGER_BOUNTY_VALUE               12

#define M_GONDOR_RANGER_LONGSHOT_RANGE			1000 ; ; 9999
#define M_GONDOR_RANGER_LONGSHOT_CURSOR_RADIUS	80
#define M_GONDOR_RANGER_LONGSHOT_DAMAGE			100 ; ; 200
#define M_GONDOR_RANGER_LONGSHOT_RELOAD_TIME		240000

#define M_DUNEDAIN_ALLIES_LIFETIME				120000

;------------------------TREBUCHET-------------
#define M_GONDOR_TREBUCHET_BUILDCOST                  700 ; ; 1000
#define M_GONDOR_TREBUCHET_BUILDTIME                    30
#define M_WALL_TREB_REBUILD_TIME                        15
#define M_GONDOR_TREBUCHET_HEALTH                     2000
#define M_GONDOR_TREBUCHET_HEALTH_DAMAGED             1000
#define M_GONDOR_TREBUCHET_VISION_RANGE               500

#define M_GONDOR_TREBUCHET_SPEED		            37 ; ; 30
 
#define M_GONDOR_TREBUCHET_LVL1_EXP_AWARD              10

#define M_GONDOR_TREBUCHET_RANGE                      500
#define M_GONDOR_TREBUCHET_MINRANGE                   300

#define M_GONDOR_TREBUCHET_DAMAGE                     390 ; ; 600

#define M_GONDOR_TREBUCHET_FIRE_UPGRADE_DAMAGE        390 ; ; 600
#define M_GONDOR_TREBUCHET_FIRE_UPGRADE_DAMAGE_FLAME  520  ; ; 800
#define M_GONDOR_TREBUCHET_PREATTACKDELAY            1200
#define M_GONDOR_TREBUCHET_DELAYBETWEENSHOTS         8000 
#define M_GONDOR_TREBUCHET_FIRINGDURATION            5400

#define M_GONDOR_TREBUCHET_EXPANSION_AIM_DELTA		90
#define M_GONDOR_TREBUCHET_EXPANSION_SIDE_AIM_DELTA	90

;Fire Data
#define M_GONDOR_TREBUCHET_FIRE_RADIUS				40 
#define M_GONDOR_TREBUCHET_FIRE_DAMAGE				3 
#define M_GONDOR_TREBUCHET_FUEL_RADIUS				40
#define M_GONDOR_TREBUCHET_FUEL_DAMAGE				200
#define M_GONDOR_TREBUCHET_FUEL_MAX_BURNRATE			100
#define M_GONDOR_TREBUCHET_FUEL_MIN_DECAY				1
#define M_GONDOR_TREBUCHET_FUEL_MAX_RESISTANCE		0


#define M_GONDOR_TREBUCHET_FLAME_RANGE                510 ;480 ; ; 420
#define M_GONDOR_TREBUCHET_BOUNTY_VALUE                200

;------------------------BANNER-------------
#define M_GONDOR_BANNER_BUILDCOST				800
#define M_GONDOR_BANNER_BUILDTIME				30
#define M_GONDOR_BANNER_HEALTH				200
#define M_GONDOR_BANNER_HEALTH_DAMAGED			100
#define M_GONDOR_BANNER_HEALTH_RECOVERY_TIME		10000
#define	M_GONDOR_BANNER_VISION_RANGE 			175

#define	M_GONDOR_BANNER_LVL1_EXP_AWARD 			5
#define	M_GONDOR_BANNER_LVL2_EXP_AWARD 			6
#define	M_GONDOR_BANNER_LVL3_EXP_AWARD 			7
#define	M_GONDOR_BANNER_LVL4_EXP_AWARD 			8

#define	M_GONDOR_BANNER_LVL2_EXP_NEEDED 			10000
#define	M_GONDOR_BANNER_LVL3_EXP_NEEDED 			20000
#define	M_GONDOR_BANNER_LVL4_EXP_NEEDED 			30000

#define	M_GONDOR_BANNER_LVL2_HP_ADD	 		60
#define	M_GONDOR_BANNER_LVL3_HP_ADD	 		60 ;100
#define	M_GONDOR_BANNER_LVL4_HP_ADD	 		60 ;100

#define	M_GONDOR_BANNER_LVL2_DAM_ADD			20
#define	M_GONDOR_BANNER_LVL3_DAM_ADD			20
#define	M_GONDOR_BANNER_LVL4_DAM_ADD			20 ;30
#define	M_GONDOR_BANNER_BOUNTY_VALUE			5

;uses same weapon as Gondor Warrior.  


;---------------GONDOR TECHNOLOGY AND UPGRADES--
#define M_GONDOR_TECH_BASIC_TRAINING_BUILDCOST			400 ; ; 1000
#define M_GONDOR_TECH_BASIC_TRAINING_BUILDTIME			15 ; ; 30

#define M_GONDOR_TECH_FIRE_ARROWS_BUILDCOST			1000
#define M_GONDOR_TECH_FIRE_ARROWS_BUILDTIME			30

#define M_GONDOR_TECH_FORGED_BLADES_BUILDCOST			1000
#define M_GONDOR_TECH_FORGED_BLADES_BUILDTIME			30

#define M_GONDOR_TECH_HEAVY_ARMOR_BUILDCOST			1000
#define M_GONDOR_TECH_HEAVY_ARMOR_BUILDTIME			30

#define M_GONDOR_TECH_KNIGHT_SHIELD_BUILDCOST			1000
#define M_GONDOR_TECH_KNIGHT_SHIELD_BUILDTIME			30

#define M_GONDOR_TECH_FIRE_STONES_BUILDCOST			1000
#define M_GONDOR_TECH_FIRE_STONES_BUILDTIME			30

;-----
#define M_GONDOR_PERSONAL_BASIC_TRAINING_BUILDCOST   		300 
#define M_GONDOR_PERSONAL_BASIC_TRAINING_BUILDTIME    		10

#define M_GONDOR_PERSONAL_FIRE_ARROWS_BUILDCOST      		300 
#define M_GONDOR_PERSONAL_FIRE_ARROWS_BUILDTIME      		10 

#define M_GONDOR_PERSONAL_FORGED_BLADES_BUILDCOST    		300
#define M_GONDOR_PERSONAL_FORGED_BLADES_BUILDTIME    		10

#define M_GONDOR_PERSONAL_HEAVY_ARMOR_BUILDCOST      		300
#define M_GONDOR_PERSONAL_HEAVY_ARMOR_BUILDTIME       		10

#define M_GONDOR_PERSONAL_KNIGHT_SHIELD_BUILDCOST    		300
#define M_GONDOR_PERSONAL_KNIGHT_SHIELD_BUILDTIME     		10

#define M_GONDOR_PERSONAL_FIRE_STONES_BUILDCOST      		300
#define M_GONDOR_PERSONAL_FIRE_STONES_BUILDTIME       		10

;------------------------FLAGS------------------------
#define M_GONDOR_FLAG_ECONOMY_UNPACK_COST			200
#define M_GONDOR_FLAG_OUTPOST_UNPACK_COST			800 ;400
#define M_GONDOR_FLAG_CAMP_UNPACK_COST			2000 ;800
#define M_GONDOR_FLAG_CASTLE_UNPACK_COST			5000


;------------------------STRUCTURES-------------------

;------------------------Men Fortress-------------
#define M_MEN_FORTRESS_BUILDCOST					5000
#define M_MEN_FORTRESS_BUILDTIME					120
#define M_MEN_FORTRESS_VISION_RANGE				400
#define	M_MEN_FORTRESS_SHROUD_CLEAR				800
#define M_MEN_FORTRESS_HEALTH					7500
#define M_MEN_FORTRESS_HEALTH_DAMAGED				2500
#define M_MEN_FORTRESS_HEALTH_REALLY_DAMAGED			1250

#define	M_MEN_FORTRESS_BOUNTY_VALUE				1250

#define M_MEN_FORTRESS_WALL_EFFECTIVE_RADIUS		400 ; ; 1500

#define M_MEN_FORTRESS_IVORY_TOWER_VISION_TIME	30000
#define M_MEN_FORTRESS_IVORY_TOWER_VISION_RANGE	99999.0  //Entire map


;------------------------MenTrebuchetExpansion-------------

#define M_MEN_TREBUCHETEXPANSION_BUILDCOST			1000 ; ; 1200
#define M_MEN_TREBUCHETEXPANSION_BUILDTIME			30
#define M_MEN_TREBUCHETEXPANSION_VISION_RANGE			500
#define	M_MEN_TREBUCHETEXPANSION_SHROUD_CLEAR			500
#define M_MEN_TREBUCHETEXPANSION_HEALTH				1500
#define M_MEN_TREBUCHETEXPANSION_HEALTH_DAMAGED			1000
#define M_MEN_TREBUCHETEXPANSION_HEALTH_REALLY_DAMAGED		500

;------------------------MenDormitoryExpansion-------------

#define M_MEN_DORMITORYEXPANSION_BUILDCOST				500
#define M_MEN_DORMITORYEXPANSION_BUILDTIME				30 ; ; 5
#define M_MEN_DORMITORYEXPANSION_VISION_RANGE				500
#define	M_MEN_DORMITORYEXPANSION_SHROUD_CLEAR				500
#define M_MEN_DORMITORYEXPANSION_HEALTH					1500
#define M_MEN_DORMITORYEXPANSION_HEALTH_DAMAGED				1000
#define M_MEN_DORMITORYEXPANSION_HEALTH_REALLY_DAMAGED			500

#define M_MEN_DORMITORYEXPANSION_HEAL_AMOUNT				10		; 10 health restored...
#define M_MEN_DORMITORYEXPANSION_HEAL_TIMEOUT				1000	; ...evey second.

;------------------------Men Walls-------------

;------------------------MenWallHubSmall-------------
#define M_MEN_WALLHUB_SMALL_BUILDCOST				130 ; ; 200
#define M_MEN_WALLHUB_SMALL_BUILDTIME				50 ; ; 25
#define M_MEN_WALLHUB_SMALL_VISION_RANGE				160
#define M_MEN_WALLHUB_SMALL_SHROUD_CLEAR				160
#define M_MEN_WALLHUB_SMALL_HEALTH				1500
#define M_MEN_WALLHUB_SMALL_HEALTH_DAMAGED			1000
#define M_MEN_WALLHUB_SMALL_HEALTH_REALLY_DAMAGED		500

;------------------------Men Walls Small-------------
#define M_MEN_WALLSEGMENT_SMALL_BUILDCOST				30 ; ; 50
#define M_MEN_WALLSEGMENT_SMALL_BUILDTIME				25 ; ; 20
#define M_MEN_WALLSEGMENT_SMALL_VISION_RANGE			160
#define M_MEN_WALLSEGMENT_SMALL_SHROUD_CLEAR			160
#define M_MEN_WALLSEGMENT_SMALL_HEALTH				3500 ; ; 1500
#define M_MEN_WALLSEGMENT_SMALL_HEALTH_DAMAGED			1000
#define M_MEN_WALLSEGMENT_SMALL_HEALTH_REALLY_DAMAGED		500

;------------------------MenWallGateSmall-------------
#define M_MEN_WALLGATE_SMALL_BUILDCOST				300 ; ; 500
#define M_MEN_WALLGATE_SMALL_BUILDTIME				25
#define M_MEN_WALLGATE_SMALL_VISION_RANGE				160
#define M_MEN_WALLGATE_SMALL_SHROUD_CLEAR				160
#define M_MEN_WALLGATE_SMALL_HEALTH				2200 ; ; 1500
#define M_MEN_WALLGATE_SMALL_HEALTH_DAMAGED			1000
#define M_MEN_WALLGATE_SMALL_HEALTH_REALLY_DAMAGED		500

;------------------------MenWallPosternGateSmall-------------
#define M_MEN_POSTERNGATE_SMALL_BUILDCOST				700 ; ; 300
#define M_MEN_POSTERNGATE_SMALL_BUILDTIME				15
#define M_MEN_POSTERNGATE_SMALL_VISION_RANGE			160
#define M_MEN_POSTERNGATE_SMALL_SHROUD_CLEAR			160
#define M_MEN_POSTERNGATE_SMALL_HEALTH				1500
#define M_MEN_POSTERNGATE_SMALL_HEALTH_DAMAGED			1000
#define M_MEN_POSTERNGATE_SMALL_HEALTH_REALLY_DAMAGED		500

;------------------------MenWallTowerSmall-------------
#define M_MEN_WALLTOWER_SMALL_BUILDCOST				500
#define M_MEN_WALLTOWER_SMALL_BUILDTIME				20
#define M_MEN_WALLTOWER_SMALL_VISION_RANGE			200
#define M_MEN_WALLTOWER_SMALL_SHROUD_CLEAR			250
#define M_MEN_WALLTOWER_SMALL_HEALTH				1500
#define M_MEN_WALLTOWER_SMALL_HEALTH_DAMAGED			1000
#define M_MEN_WALLTOWER_SMALL_HEALTH_REALLY_DAMAGED		500

;------------------------MenWallTrebuchetSmall-------------
#define M_MEN_WALLTREBUCHET_SMALL_BUILDCOST			1200
#define M_MEN_WALLTREBUCHET_SMALL_BUILDTIME			30
#define M_MEN_WALLTREBUCHET_SMALL_VISION_RANGE			160
#define M_MEN_WALLTREBUCHET_SMALL_SHROUD_CLEAR			160
#define M_MEN_WALLTREBUCHET_SMALL_HEALTH				1500
#define M_MEN_WALLTREBUCHET_SMALL_HEALTH_DAMAGED			1000
#define M_MEN_WALLTREBUCHET_SMALL_HEALTH_REALLY_DAMAGED		500




;------------------------FARM-------------
#define M_GONDOR_FARM_BUILDCOST				300
#define M_GONDOR_FARM_BUILDTIME				22 ; ; 15
#define M_GONDOR_FARM_HEALTH				2000
#define M_GONDOR_FARM_HEALTH_DAMAGED			1333
#define M_GONDOR_FARM_HEALTH_REALLY_DAMAGED		667
#define	M_GONDOR_FARM_SHROUD_CLEAR			300
#define M_GONDOR_FARM_MONEY_TIME 				6000
#define M_GONDOR_FARM_MONEY_AMOUNT			25
#define M_GONDOR_FARM_MONEY_RANGE				300; 200

#define	M_GONDOR_FARM_LVL1_EXP_AWARD 			40
#define	M_GONDOR_FARM_LVL2_EXP_AWARD 			50
#define	M_GONDOR_FARM_LVL3_EXP_AWARD 			60

#define M_GONDOR_FARM_LVL2_EXP_NEEDED			1500
#define M_GONDOR_FARM_LVL3_EXP_NEEDED 			3000

#define	M_GONDOR_FARM_LVL2_HP_ADD	 			500
#define	M_GONDOR_FARM_LVL3_HP_ADD	 			1000

#define M_GONDOR_FARM_LVL2_PRODUCTION 			1.25
#define M_GONDOR_FARM_LVL3_PRODUCTION 			1.5
#define	M_GONDOR_FARM_BOUNTY_VALUE			62

;------------------------FORGE  Black Smith -------------
#define M_GONDOR_FORGE_BUILDCOST                	1500 ; ; 1000
#define M_GONDOR_FORGE_BUILDTIME                  90          ; ; 60
#define M_GONDOR_FORGE_HEALTH                   	1500
#define M_GONDOR_FORGE_HEALTH_DAMAGED           	1000
#define M_GONDOR_FORGE_HEALTH_REALLY_DAMAGED     	500
#define M_GONDOR_FORGE_SHROUD_CLEAR               160
#define M_GONDOR_FORGE_MONEY_TIME                	6000
#define M_GONDOR_FORGE_MONEY_AMOUNT               50
#define M_GONDOR_FORGE_LEVEL2_UPGRADE_COST	1000 ; ; 500
#define M_GONDOR_FORGE_LEVEL2_UPGRADE_BUILDTIME	30
#define M_GONDOR_FORGE_LEVEL3_UPGRADE_COST	500 ; ; 1000
#define M_GONDOR_FORGE_LEVEL3_UPGRADE_BUILDTIME	60

#define M_GONDOR_FORGE_LVL1_EXP_AWARD             50
#define M_GONDOR_FORGE_LVL2_EXP_AWARD             60
#define M_GONDOR_FORGE_LVL3_EXP_AWARD             70
 
#define M_GONDOR_FORGE_LVL2_EXP_NEEDED            750     ;1200  ; 750
#define M_GONDOR_FORGE_LVL3_EXP_NEEDED            4000     ;5000

#define M_GONDOR_FORGE_LVL2_HP_ADD                1500
#define M_GONDOR_FORGE_LVL3_HP_ADD                1500

#define M_GONDOR_FORGE_LVL2_PRODUCTION            1.2   ;1.34
#define M_GONDOR_FORGE_LVL3_PRODUCTION            1.12  ;1.25
#define M_GONDOR_FORGE_BOUNTY_VALUE               250

;------------------------BARRACKS-------------
#define M_GONDOR_BARRACKS_BUILDCOST			300
#define M_GONDOR_BARRACKS_BUILDTIME			30
#define M_GONDOR_BARRACKS_LEVEL2_UPGRADE_COST		150 ; ; 100
#define M_GONDOR_BARRACKS_LEVEL2_UPGRADE_BUILDTIME	30
#define M_GONDOR_BARRACKS_LEVEL3_UPGRADE_COST		250 ; ; 200
#define M_GONDOR_BARRACKS_LEVEL3_UPGRADE_BUILDTIME	30 ; ; 60
#define	M_GONDOR_BARRACKS_SHROUD_CLEAR			160
#define M_GONDOR_BARRACKS_HEALTH				3000
#define M_GONDOR_BARRACKS_HEALTH_DAMAGED			2000
#define M_GONDOR_BARRACKS_HEALTH_REALLY_DAMAGED		1000

#define	M_GONDOR_BARRACKS_LVL1_EXP_AWARD 			50
#define	M_GONDOR_BARRACKS_LVL2_EXP_AWARD 			60
#define	M_GONDOR_BARRACKS_LVL3_EXP_AWARD 			70

#define M_GONDOR_BARRACKS_LVL2_EXP_NEEDED			100
#define M_GONDOR_BARRACKS_LVL3_EXP_NEEDED 		1000

#define	M_GONDOR_BARRACKS_LVL2_HP_ADD	 		1500
#define	M_GONDOR_BARRACKS_LVL3_HP_ADD	 		1500

#define M_GONDOR_BARRACKS_LVL2_BUILD_SPEED 		1.10   
#define M_GONDOR_BARRACKS_LVL3_BUILD_SPEED 		1.25    

#define	M_GONDOR_BARRACKS_BOUNTY_VALUE			75

;------------------------ARCHERY RANGE-------------
#define M_GONDOR_ARCHERYRANGE_BUILDCOST			300
#define M_GONDOR_ARCHERYRANGE_BUILDTIME			30
#define M_GONDOR_ARCHERYRANGE_LEVEL2_UPGRADE_COST		500
#define M_GONDOR_ARCHERYRANGE_LEVEL2_UPGRADE_BUILDTIME	30
#define M_GONDOR_ARCHERYRANGE_LEVEL3_UPGRADE_COST		650 ; ; 1000
#define M_GONDOR_ARCHERYRANGE_LEVEL3_UPGRADE_BUILDTIME	30 ; ; 60
#define	M_GONDOR_ARCHERYRANGE_SHROUD_CLEAR		160
#define M_GONDOR_ARCHERYRANGE_HEALTH			3000
#define M_GONDOR_ARCHERYRANGE_HEALTH_DAMAGED		2000
#define M_GONDOR_ARCHERYRANGE_HEALTH_REALLY_DAMAGED	1000

#define	M_GONDOR_ARCHERYRANGE_LVL1_EXP_AWARD 		50
#define	M_GONDOR_ARCHERYRANGE_LVL2_EXP_AWARD 		60
#define	M_GONDOR_ARCHERYRANGE_LVL3_EXP_AWARD 		70

#define M_GONDOR_ARCHERYRANGE_LVL2_EXP_NEEDED		100
#define M_GONDOR_ARCHERYRANGE_LVL3_EXP_NEEDED 		1000

#define	M_GONDOR_ARCHERYRANGE_LVL2_HP_ADD	 		1500
#define	M_GONDOR_ARCHERYRANGE_LVL3_HP_ADD	 		1500

#define M_GONDOR_ARCHERYRANGE_LVL2_BUILD_SPEED 		1.10   
#define M_GONDOR_ARCHERYRANGE_LVL3_BUILD_SPEED 		1.25    

#define	M_GONDOR_ARCHERYRANGE_BOUNTY_VALUE		75

;------------------------STABLES-------------
#define M_GONDOR_STABLES_BUILDCOST			600
#define M_GONDOR_STABLES_BUILDTIME			45 ; ; 30
#define M_GONDOR_STABLE_LEVEL2_UPGRADE_COST		500
#define M_GONDOR_STABLE_LEVEL2_UPGRADE_BUILDTIME		30
#define M_GONDOR_STABLE_LEVEL3_UPGRADE_COST		350 ; ; 1000
#define M_GONDOR_STABLE_LEVEL3_UPGRADE_BUILDTIME		60
#define	M_GONDOR_STABLES_SHROUD_CLEAR			160
#define M_GONDOR_STABLES_HEALTH				3000
#define M_GONDOR_STABLES_HEALTH_DAMAGED			2000
#define M_GONDOR_STABLES_HEALTH_REALLY_DAMAGED		1000

#define	M_GONDOR_STABLES_LVL1_EXP_AWARD 			50
#define	M_GONDOR_STABLES_LVL2_EXP_AWARD 			60
#define	M_GONDOR_STABLES_LVL3_EXP_AWARD 			70


#define M_GONDOR_STABLES_LVL2_EXP_NEEDED			500
#define M_GONDOR_STABLES_LVL3_EXP_NEEDED 			1000

#define	M_GONDOR_STABLES_LVL2_HP_ADD	 		1500
#define	M_GONDOR_STABLES_LVL3_HP_ADD	 		1500

#define M_GONDOR_STABLES_LVL2_BUILD_SPEED 		1.10   
#define M_GONDOR_STABLES_LVL3_BUILD_SPEED 		1.25    

#define	M_GONDOR_STABLES_BOUNTY_VALUE			125

;------------------------WORKSHOP-------------
#define M_GONDOR_WORKSHOP_BUILDCOST			500 ; ; 800
#define M_GONDOR_WORKSHOP_BUILDTIME			45 ; ; 30
#define M_GONDOR_WORKSHOP_LEVEL2_UPGRADE_COST		800 ; ; 500
#define M_GONDOR_WORKSHOP_LEVEL2_UPGRADE_BUILDTIME	30
#define M_GONDOR_WORKSHOP_LEVEL3_UPGRADE_COST		350 ; ; 500
#define M_GONDOR_WORKSHOP_LEVEL3_UPGRADE_BUILDTIME	30 ; ; 60
#define	M_GONDOR_WORKSHOP_SHROUD_CLEAR			160
#define M_GONDOR_WORKSHOP_HEALTH				3000
#define M_GONDOR_WORKSHOP_HEALTH_DAMAGED			2000
#define M_GONDOR_WORKSHOP_HEALTH_REALLY_DAMAGED		1000

#define	M_GONDOR_WORKSHOP_LVL1_EXP_AWARD 			50
#define	M_GONDOR_WORKSHOP_LVL2_EXP_AWARD 			60
#define	M_GONDOR_WORKSHOP_LVL3_EXP_AWARD 			70

#define M_GONDOR_WORKSHOP_LVL2_EXP_NEEDED			3200
#define M_GONDOR_WORKSHOP_LVL3_EXP_NEEDED 		6400

#define	M_GONDOR_WORKSHOP_LVL2_HP_ADD	 		1500
#define	M_GONDOR_WORKSHOP_LVL3_HP_ADD	 		1500

#define M_GONDOR_WORKSHOP_LVL2_BUILD_SPEED 		1.10   
#define M_GONDOR_WORKSHOP_LVL3_BUILD_SPEED 		1.25    

#define	M_GONDOR_WORKSHOP_BOUNTY_VALUE			200

;------------------------KEEP------------- (AKA MOTW Battle Tower)
#define M_GONDOR_KEEP_BUILDCOST				700
#define M_GONDOR_KEEP_BUILDTIME				45 ; ; 60
#define	M_GONDOR_KEEP_VISION_RANGE 			300
#define	M_GONDOR_KEEP_SHROUD_CLEAR			300
#define M_GONDOR_KEEP_HEALTH				2200 ; ; 3000
#define M_GONDOR_KEEP_HEALTH_DAMAGED			1600 ; ; 2000
#define M_GONDOR_KEEP_HEALTH_REALLY_DAMAGED		700 ; ; 1000
#define	M_GONDOR_KEEP_BOUNTY_VALUE			175

;------------------------STATUE-------------
#define M_GONDOR_STATUE_BUILDCOST				250 ; ; 300
#define M_GONDOR_STATUE_BUILDTIME				25 ; ; 45
#define	M_GONDOR_STATUE_VISION_RANGE 			300
#define	M_GONDOR_STATUE_SHROUD_CLEAR			300
#define M_GONDOR_STATUE_HEALTH				1000 ; ; 1500
#define M_GONDOR_STATUE_HEALTH_DAMAGED			600 ; ; 1000
#define M_GONDOR_STATUE_HEALTH_REALLY_DAMAGED		300 ; ; 500
#define	M_GONDOR_STATUE_BOUNTY_VALUE			25

#define M_GONDOR_STATUE_AOE_RADIUS			200
#define M_GONDOR_STATUE_AOE_RADIUS_DECAL		440 // should be about 2.2 times the radius
#define M_GONDOR_STATUE_REFUND_VALUE			150

;------------------------WELL-------------
#define M_GONDOR_WELL_BUILDCOST				300
#define M_GONDOR_WELL_BUILDTIME				45
#define M_GONDOR_WELL_VISIONRANGE				160
#define M_GONDOR_WELL_SHROUDCLEAR				160
#define M_GONDOR_WELL_MAXHEALTH				1500
#define M_GONDOR_WELL_MAXHEALTHDAMAGED			1000
#define M_GONDOR_WELL_MAXHEALTH_REALLYDAMAGED		500

#define	M_GONDOR_WELL_BOUNTY_VALUE			75

#define M_GONDOR_WELL_AOE_RADIUS				200
#define M_GONDOR_WELL_AOE_RADIUS_DECAL		440 // should be about 2.2 times the radius
#define M_GONDOR_WELL_REFUND_VALUE			150

;------------------------STONEWORKER-------------
#define M_GONDOR_STONEWORKER_BUILDCOST			1500
#define M_GONDOR_STONEWORKER_BUILDTIME			45
#define	M_GONDOR_STONEWORKER_VISION_RANGE 		160
#define	M_GONDOR_STONEWORKER_SHROUD_CLEAR			160
#define M_GONDOR_STONEWORKER_HEALTH			2500
#define M_GONDOR_STONEWORKER_HEALTH_DAMAGED		1600
#define M_GONDOR_STONEWORKER_HEALTH_REALLY_DAMAGED	800
#define	M_GONDOR_STONEWORKER_BOUNTY_VALUE			375

;------------------------MARKETPLACE-------------
#define M_GONDOR_MARKETPLACE_BUILDCOST			1500
#define M_GONDOR_MARKETPLACE_BUILDTIME			45
#define	M_GONDOR_MARKETPLACE_VISION_RANGE 		160
#define	M_GONDOR_MARKETPLACE_SHROUD_CLEAR			160
#define M_GONDOR_MARKETPLACE_HEALTH			2500
#define M_GONDOR_MARKETPLACE_HEALTH_DAMAGED		1600
#define M_GONDOR_MARKETPLACE_HEALTH_REALLY_DAMAGED	800
#define	M_GONDOR_MARKETPLACE_EXP_AWARD  			15

#define	M_GONDOR_MARKETPLACE_BOUNTY_VALUE			375

;------------------------WALL-------------
#define M_GONDOR_CASTLE_WALL_HEALTH			3000
#define M_GONDOR_WALL_HUB_COST				250
#define M_GONDOR_WALL_SEGMENT_COST			100



;------------------------UPGRADES-------------------
;------------------------POSTERNGATE-------------
#define M_GONDOR_POSTERNGATE_BUILDCOST			300
#define M_GONDOR_WALL_POSTERN_GATE_SMALL_EXP_AWARD	10

;------------------------BATTLETOWER-------------
; if the build speeds are changed, you must multiply this by the inverse of the speed,
; so if the build speed is 0.5, the delay should be multiplied by 2

#define M_GONDOR_BATTLETOWER_BUILDCOST         350 ; ; 500
#define M_GONDOR_CASTLE_WALL_UPGRADE_HEALTH    1500
#define M_GONDOR_BATTLETOWER_BUILD_SPEED        0.5 ;1.0
#define M_GONDOR_BATTLETOWER_ATTACK_DELAY     15000 ;7500

#define M_LONE_TOWER_BUILD_TIME				5000
#define M_LONE_TOWER_EFFECTIVE_RADIUS			1500  //How close to a fortress do I need to be??
#define M_BARRICADE_EFFECTIVE_RADIUS			1500  //How close to a fortress do I need to be??

;// The structure-summoning spells (Lone Tower, Barricade, Undermine, Citadel
;// have a hard-coded 20-unit which disallows summoning if any structures are inside.
;// Thus, the decals for these spells have to be 20 greater than the 'size' of the
;// summoned object to accurately represent castability.
#define M_SPAWN_LONE_TOWER_DECAL_RADIUS			40		;// 20 + 20
#define M_SPAWN_BARRICADE_DECAL_RADIUS			60		;// 40 + 20
#define M_SPAWN_CITADEL_DECAL_RADIUS				120		;// 100 + 20
#define M_SPAWN_UNDERMINE_DECAL_RADIUS			95.0	;// 75 + 20

;------------------------WALLTREBUCHET-------------
; if the build speeds are changed, you must multiply this by the inverse of the speed,
; so if the build speed is 0.5, the delay should be multiplied by 2

#define M_GONDOR_WALLTREBUCHET_BUILDCOST       1000
#define M_GONDOR_WALLTREBUCHET_BUILD_SPEED      0.5 ;1.0
#define M_GONDOR_WALLTREBUCHET_CREATE_DELAY    14000 ;7.0
#define M_GONDOR_WALL_TREBUCHET_SMALL_EXP_AWARD 10

;------------------------IRONORE-------------
#define M_GONDOR_IRONORE_BUILDCOST			500 ; ; 1500
#define M_GONDOR_IRONORE_BUILDTIME			60
#define M_GONDOR_IRONORE_PRODUCTION_INCREASE		150

;------------------------GRANDHARVEST-------------
#define M_GONDOR_GRANDHARVEST_BUILDCOST			1000 ; ; 1500
#define M_GONDOR_GRANDHARVEST_BUILDTIME			60
#define M_GONDOR_GRANDHARVEST_PRODUCTION_INCREASE		110

;------------------------SIEGEMATERIALS-------------
#define M_GONDOR_SIEGEMATERIALS_BUILDCOST			500
#define M_GONDOR_SIEGEMATERIALS_BUILDTIME			60

;------------------------REINFORCEDGATE-------------
#define M_GONDOR_REINFORCEDGATE_BUILDCOST			1200
#define M_GONDOR_REINFORCEDGATE_HEALTH			3000

#define M_GONDOR_WALL_GATE_SMALL_EXP_AWARD		10

#define M_GONDOR_CASTLE_DOOR_HEALTH			3000

;------------------------NEMENORSTONEWORK-------------
#define M_GONDOR_NEMENORSTONEWORK_BUILDCOST        1600 ; ; 2000

#define M_GONDOR_NEMENORSTONEWORK_BUILDTIME        30

#define M_GONDOR_NEMENORSTONEWORK_WALL_HEALTH      5000
#define M_GONDOR_NEMENORSTONEWORK_KEEP_HEALTH      3000
#define M_GONDOR_NEMENORSTONEWORK_UPGRADE_HEALTH   1000
#define M_GONDOR_NEMENORSTONEWORK_CITADEL_HEALTH   2000

#define M_GONDOR_NEMENORSTONEWORK_UPGRADE_AMOUNT 	1.5 ; Used in a math operator, 1.5 = +50% armor. 

#define M_GONDOR_NEMENOR_STONEWORK_KEEP_ARMOR_BONUS 0.35 ; ; .5
#define M_GONDOR_NEMENOR_STONEWORK_ARMOR_BONUS		0.35 ; ; .5

;------------------------GARRISON_FIREARROWS-------------
#define M_GONDOR_GARRISON_FIREARROWS_BUILDCOST     3000  
#define M_GONDOR_GARRISON_FIREARROWS_BUILDTIME     30

;----------------------Structure Bow-------------------
; This weapon should be the equivalent of 5 men, which is why the timings
; are pretty fast.
#define M_STRUCTURE_BOW_DAMAGE						75
#define	M_GONDOR_STRUCTURE_ARCHER_RANGE					250  

#define M_GONDOR_STRUCTURE_ARCHER_BOW_PREATTACKDELAY 			20
#define M_GONDOR_STRUCTURE_ARCHER_BOW_DELAYBETWEENSHOTS_MIN 		20
#define M_GONDOR_STRUCTURE_ARCHER_BOW_DELAYBETWEENSHOTS_MAX 		50
#define M_GONDOR_STRUCTUR_ARCHER_BOW_FIRINGDURATION 			20

;----------------------Keep Bow-------------------
#define M_KEEP_BOW_DAMAGE					75
#define M_KEEP_BOW_UPGRADED_DAMAGE			75
#define	M_KEEP_ARCHER_RANGE				250  

#define M_KEEP_BOW_PREATTACKDELAY 			5
#define M_KEEP_BOW_DELAYBETWEENSHOTS_MIN 			5
#define M_KEEP_BOW_DELAYBETWEENSHOTS_MAX 			10 ;20
#define M_KEEP_BOW_FIRINGDURATION 			5

;----------------------Wall Towers-------------------
#define M_WALL_TOWER_BOW_DAMAGE				75 ;60
#define M_WALL_TOWER_BOW_DAMAGE_UPGRADE			150
#define M_GONDOR_WALL_TOWER_SMALL_EXP_AWARD	10


#define M_GONDOR_WALL_HUB_SMALL_EXP_AWARD		10

;------------------------ROHAN------------------------
;------------------------UNITS------------------------
;------------------------PEASANTS-------------
#define M_ROHAN_PEASANT_BUILDCOST				100
#define M_ROHAN_PEASANT_BUILDTIME				20 ; ; 40
#define M_ROHAN_PEASANT_HEALTH				115 ; ; 40
#define M_ROHAN_PEASANT_HEALTH_DAMAGED			60 ; ; 40
#define M_ROHAN_PEASANT_HEALTH_RECOVERY_TIME		10000
#define	M_ROHAN_PEASANT_VISION_RANGE 			100

#define	M_ROHAN_FIGHTER_SWORD_DAMAGE	 		5
#define	M_ROHAN_FIGHTER_SWORD_DAMAGE_FORGED_UPGRADE	60
#define	M_ROHAN_PEASANT_DRAFT_ARMOR_BONUS			40	
#define	M_ROHAN_PEASANT_DRAFT_WEAPON_BONUS		5

#define M_ROHAN_PEASANT_PREATTACKDELAY 			400
#define M_ROHAN_PEASANT_DELAYBETWEENSHOTS 		1000 
#define M_ROHAN_PEASANT_FIRINGDURATION 			1000

#define	M_ROHAN_PEASANT_BOUNTY_VALUE			5 ; ; 25


;------------------------ROHIRRIM-------------
#define M_ROHAN_ROHIRRIM_BUILDCOST                     750
#define M_ROHAN_ROHIRRIM_BUILDTIME                      45
#define M_ROHAN_ROHIRRIM_HEALTH                        450  ; ; 800
#define M_ROHAN_ROHIRRIM_HEALTH_DAMAGED                200  ; ; 400
#define M_ROHAN_ROHIRRIM_HEALTH_RECOVERY_TIME        10000
#define M_ROHAN_ROHIRRIM_VISION_RANGE                  275 ; ; 200
#define M_ROHAN_ROHIRRIM_HORDE_VISION_RANGE            275 ; ; 370
#define M_ROHAN_ROHIRRIM_HORDE_SHROUD_RANGE            275 ; ; 400

#define M_ROHAN_ROHIRRIM_SWORD_DAMAGE                   80 ; ; 60
#define M_ROHAN_ROHIRRIM_SWORD_DAMAGE_FORGED_UPGRADE    120

#define M_ROHAN_ROHIRRIM_PREATTACKDELAY                500  ;750
#define M_ROHAN_ROHIRRIM_DELAYBETWEENSHOTS            1000  ;750
#define M_ROHAN_ROHIRRIM_FIRINGDURATION               1000  ;750

#define M_ROHAN_ROHIRRIM_BOUNTY_VALUE                   20

;------------------------ROHIRRIM ARCHER-------------

#define M_ROHAN_ROHIRRIM_ARCHER_BUILDCOST             1000
#define M_ROHAN_ROHIRRIM_ARCHER_BUILDTIME               40
#define M_ROHAN_ROHIRRIM_ARCHER_HEALTH                 140 
#define M_ROHAN_ROHIRRIM_ARCHER_HEALTH_DAMAGED         140 

#define M_ROHAN_HORSEBOW_RANGE                         350
#define M_ROHAN_ROHIRRIM_BOW_DAMAGE                     20 ;10
#define M_ROHAN_ROHIRRIM_BOW_FIRE_DAMAGE                25 ;20 ; ; 15


#define M_ROHAN_ROHIRRIM_ARCHER_HORDE_VISION_RANGE     370
#define M_ROHAN_ROHIRRIM_ARCHER_VISION_RANGE           380

;------------------------YEOMAN-------------
#define M_ROHAN_YEOMAN_BUILDCOST				500 ;200
#define M_ROHAN_YEOMAN_BUILDTIME				30 ;15
#define M_ROHAN_YEOMAN_HEALTH				80
#define M_ROHAN_YEOMAN_HEALTH_DAMAGED			80
#define M_ROHAN_YEOMAN_HEALTH_RECOVERY_TIME		10000
#define	M_ROHAN_YEOMAN_VISION_RANGE 			480
#define	M_ROHAN_YEOMAN_HORDE_VISION_RANGE 		470
#define	M_ROHAN_YEOMAN_SHROUD_RANGE 			500

#define M_ROHAN_YEOMAN_PREATTACKDELAY 			1000
#define M_ROHAN_YEOMAN_BOW_RELOADTIME_MIN			1500
#define M_ROHAN_YEOMAN_BOW_RELOADTIME_MAX			2000

#define	M_ROHAN_YEOMAN_RANGE				450
;Yeoman damage is doubled because they miss 50%.  
#define	M_ROHAN_YEOMAN_DAMAGE				10
#define	M_ROHAN_YEOMAN_MELEE_DAMAGE			5

#define	M_ROHAN_YEOMAN_FIRE_UPGRADE_DAMAGE		10 
#define	M_ROHAN_YEOMAN_FIRE_UPGRADE_DAMAGE_FIRE		15 ;20

#define	M_ROHAN_YEOMAN_BOUNTY_VALUE			12

;------------------------ELVENWARRIOR-------------
#define M_ROHAN_ELVENWARRIOR_BUILDCOST                 350 ; ; 700
#define M_ROHAN_ELVENWARRIOR_BUILDTIME                  40 
#define M_ROHAN_ELVENWARRIOR_HEALTH                    350 ; ; 160
#define M_ROHAN_ELVENWARRIOR_HEALTH_DAMAGED            160
#define M_ROHAN_ELVENWARRIOR_HEALTH_RECOVERY_TIME    10000
#define M_ROHAN_ELVENWARRIOR_VISION_RANGE              620 ; ; 430
#define M_ROHAN_ELVENWARRIOR_HORDE_VISION_RANGE        600 ; ; 420

;Bow
#define M_ROHAN_ELVENWARRIOR_BOW_PREATTACKDELAY        600 ; ; 900
#define M_ROHAN_ELVENWARRIOR_BOW_RELOADTIME_MIN       1250
#define M_ROHAN_ELVENWARRIOR_BOW_RELOADTIME_MAX       2000

;Sword
#define M_ROHAN_ELVENWARRIOR_SWORD_PREATTACKDELAY      700
#define M_ROHAN_ELVENWARRIOR_SWORD_DELAYBETWEENSHOTS  1500
#define M_ROHAN_ELVENWARRIOR_SWORD_FIRINGDURATION      800

#define M_ROHAN_ELVEN_RANGE                            400
#define M_ROHAN_ELVEN_DAMAGE                            50 ;40 ; ; 30
#define M_ROHAN_ELVEN_FIRE_UPGRADE_DAMAGE               50 ;40  ; ; 30
#define M_ROHAN_ELVEN_FIRE_UPGRADE_DAMAGE_FLAME         15 ;20
#define M_ROHAN_ELVEN_MELEE_DAMAGE                      50 ;was not used in BFME...added to weapon for patch 1.02 ; ; 30
#define M_ROHAN_ELVEN_MELEE_DAMAGE_UPGRADE              80 ; ; 60

#define M_ROHAN_ELVENWARRIOR_BOUNTY_VALUE               12

;------------------------ROHANBANNER-------------
#define M_ROHAN_BANNER_HEALTH				100
#define M_ROHAN_BANNER_HEALTH_DAMAGED			100
#define M_ROHAN_BANNER_HEALTH_RECOVERY_TIME		10000
#define	M_ROHAN_BANNER_VISION_RANGE 			100

#define	M_ROHAN_BANNER_LVL1_EXP_AWARD 			5
#define	M_ROHAN_BANNER_LVL2_EXP_AWARD 			6
#define	M_ROHAN_BANNER_LVL3_EXP_AWARD 			7
#define	M_ROHAN_BANNER_LVL4_EXP_AWARD 			8

#define	M_ROHAN_BANNER_LVL2_EXP_NEEDED 			10000
#define	M_ROHAN_BANNER_LVL3_EXP_NEEDED 			20000
#define	M_ROHAN_BANNER_LVL4_EXP_NEEDED 			30000

#define	M_ROHAN_BANNER_LVL2_HP_ADD	 		60
#define	M_ROHAN_BANNER_LVL3_HP_ADD	 		60 ;100
#define	M_ROHAN_BANNER_LVL4_HP_ADD	 		60 ;100

#define	M_ROHAN_BANNER_LVL2_DAM_ADD			20
#define	M_ROHAN_BANNER_LVL3_DAM_ADD			20
#define	M_ROHAN_BANNER_LVL4_DAM_ADD			20 ;30

#define	M_ROHAN_BANNER_BOUNTY_VALUE			25
#define	M_ROHAN_BANNER_COST				800
#define	M_ROHAN_BANNER_BUILDTIME				30

;Uses Rohan Peasant weapon.  

;------------------------ROHANBANNERRIDER-------------
#define M_ROHAN_BANNERRIDER_HEALTH			400
#define M_ROHAN_BANNERRIDER_HEALTH_DAMAGED		400
#define M_ROHAN_BANNERRIDER_HEALTH_RECOVERY_TIME		10000
#define	M_ROHAN_BANNERRIDER_VISION_RANGE 			175

#define	M_ROHAN_BANNERRIDER_BOUNTY_VALUE			25

;uses Rohirrim weapon.  

;------------------------ROHANENT-------------
#define M_ROHAN_ENT_BUILDCOST				1000
#define M_ROHAN_ENT_BUILDTIME				25 ; ; 45
#define M_ROHAN_ENT_HEALTH				1400 ; ; 2000
#define	M_ROHAN_ENT_VISION_RANGE 			100
#define	M_ROHAN_ENT_WALK_SPEED 			40 ; ; 50
#define	M_ROHAN_ENT_FIRE_THRESHOLD		0.2			; How much flame damage (percentage of health) do I need to take before starting on fire?

#define	M_ROHAN_ENT_BOUNTY_VALUE			250

;------------------------ROHANTREEBEARD-------------
#define M_ROHAN_TREEBEARD_HEALTH				3200 ; ; 5000
#define	M_ROHAN_TREEBEARD_VISION_RANGE 			100

#define	M_ROHAN_TREEBEARD_PUNCH_DAMAGE			600
#define	M_ROHAN_TREEBEARD_PUNCH_RADIUS			50
#define	M_ROHAN_TREEBEARD_KICK_DAMAGE			600
#define	M_ROHAN_TREEBEARD_KICK_RADIUS			20
#define	M_ROHAN_TREEBEARD_ROCK_DAMAGE		        400
#define	M_ROHAN_TREEBEARD_ROCK_RANGE			500 ;600
#define	M_ROHAN_TREEBEARD_BUILDINGATTACK_DAMAGE		600

#define	M_ROHAN_TREEBEARD_BOUNTY_VALUE			750

;------------------------UPGRADES-------------------
#define M_GONDOR_WALLBANNER_BUILDCOST			800

;---------------ROHAN TECHNOLOGY AND UPGRADES--
#define M_ROHAN_TECH_BASIC_TRAINING_BUILDCOST			1000
#define M_ROHAN_TECH_BASIC_TRAINING_BUILDTIME			30

#define M_ROHAN_TECH_FIRE_ARROWS_BUILDCOST			1000
#define M_ROHAN_TECH_FIRE_ARROWS_BUILDTIME			30

#define M_ROHAN_TECH_FORGED_BLADES_BUILDCOST			1000
#define M_ROHAN_TECH_FORGED_BLADES_BUILDTIME			30

#define M_ROHAN_TECH_HEAVY_ARMOR_BUILDCOST			1000
#define M_ROHAN_TECH_HEAVY_ARMOR_BUILDTIME			30

#define M_ROHAN_TECH_HORSE_SHIELD_BUILDCOST			1000
#define M_ROHAN_TECH_HORSE_SHIELD_BUILDTIME			30

;-----
#define M_ROHAN_PERSONAL_BASIC_TRAINING_BUILDCOST			300
#define M_ROHAN_PERSONAL_BASIC_TRAINING_BUILDTIME			10

#define M_ROHAN_PERSONAL_FIRE_ARROWS_BUILDCOST			300
#define M_ROHAN_PERSONAL_FIRE_ARROWS_BUILDTIME			10

#define M_ROHAN_PERSONAL_FORGED_BLADES_BUILDCOST			300
#define M_ROHAN_PERSONAL_FORGED_BLADES_BUILDTIME			10
	
#define M_ROHAN_PERSONAL_HEAVY_ARMOR_BUILDCOST			300
#define M_ROHAN_PERSONAL_HEAVY_ARMOR_BUILDTIME			10

#define M_ROHAN_PERSONAL_HORSE_SHIELD_BUILDCOST			300
#define M_ROHAN_PERSONAL_HORSE_SHIELD_BUILDTIME			10

;------------------------STRUCTURES-------------------
;------------------------STABLES-------------
#define M_ROHAN_STABLES_BUILDCOST				600 ;500
#define M_ROHAN_STABLES_BUILDTIME				30
#define M_ROHAN_STABLES_VISIONRANGE			160
#define M_ROHAN_STABLES_SHROUDCLEAR			161
#define M_ROHAN_STABLES_MAXHEALTH				3000
#define M_ROHAN_STABLES_MAXHEALTHDAMAGED			2000
#define M_ROHAN_STABLES_MAXHEALTH_REALLYDAMAGED		1000

#define	M_ROHAN_STABLES_LVL1_EXP_AWARD 			50
#define	M_ROHAN_STABLES_LVL2_EXP_AWARD 			60
#define	M_ROHAN_STABLES_LVL3_EXP_AWARD 			70

#define M_ROHAN_STABLES_LVL2_EXP_NEEDED			100
#define M_ROHAN_STABLES_LVL3_EXP_NEEDED 			1000

#define	M_ROHAN_STABLES_LVL2_HP_ADD	 		1500
#define	M_ROHAN_STABLES_LVL3_HP_ADD	 		1500	

#define M_ROHAN_STABLES_LVL2_BUILD_SPEED 			1.10   
#define M_ROHAN_STABLES_LVL3_BUILD_SPEED 			1.25    

#define	M_ROHAN_STABLES_BOUNTY_VALUE			150

;------------------------FARM-------------
#define M_ROHAN_FARM_BUILDCOST				350
#define M_ROHAN_FARM_BUILDTIME				15
#define M_ROHAN_FARM_HEALTH				1500
#define M_ROHAN_FARM_HEALTH_DAMAGED			1000
#define M_ROHAN_FARM_HEALTH_REALLY_DAMAGED		500
#define M_ROHAN_FARM_SHROUD_CLEAR				160
#define M_ROHAN_FARM_MONEY_TIME 				6000
#define M_ROHAN_FARM_MONEY_AMOUNT				20

#define	M_ROHAN_FARM_LVL1_EXP_AWARD 			10
#define	M_ROHAN_FARM_LVL2_EXP_AWARD 			15
#define	M_ROHAN_FARM_LVL3_EXP_AWARD 			20

#define M_ROHAN_FARM_LVL2_EXP_NEEDED			1200 ;750
#define M_ROHAN_FARM_LVL3_EXP_NEEDED 			2700 ;5000

#define	M_ROHAN_FARM_LVL2_HP_ADD	 			1500
#define	M_ROHAN_FARM_LVL3_HP_ADD	 			2000

#define M_ROHAN_FARM_LVL2_PRODUCTION 			1.2 ;1.34
#define M_ROHAN_FARM_LVL3_PRODUCTION 			1.12 ;1.25
;#define	ROHAN_FARM_BOUNTY_VALUE			50

;------------------------ARCHERYRANGE-------------
#define M_ROHAN_ARCHERYRANGE_BUILDCOST			300
#define M_ROHAN_ARCHERYRANGE_BUILDTIME			15
#define M_ROHAN_ARCHERYRANGE_VISIONRANGE			160
#define M_ROHAN_ARCHERYRANGE_SHROUDCLEAR			161
#define M_ROHAN_ARCHERYRANGE_MAXHEALTH			3000
#define M_ROHAN_ARCHERYRANGE_MAXHEALTHDAMAGED		2000
#define M_ROHAN_ARCHERYRANGE_MAXHEALTH_REALLYDAMAGED	1000

#define	M_ROHAN_ARCHERYRANGE_LVL1_EXP_AWARD 		10
#define	M_ROHAN_ARCHERYRANGE_LVL2_EXP_AWARD 		15
#define	M_ROHAN_ARCHERYRANGE_LVL3_EXP_AWARD 		20

#define M_ROHAN_ARCHERYRANGE_LVL2_EXP_NEEDED		1000
#define M_ROHAN_ARCHERYRANGE_LVL3_EXP_NEEDED 		3600

#define	M_ROHAN_ARCHERYRANGE_LVL2_HP_ADD	 		1500
#define	M_ROHAN_ARCHERYRANGE_LVL3_HP_ADD	 		1500

#define M_ROHAN_ARCHERYRANGE_LVL2_BUILD_SPEED 		1.10   
#define M_ROHAN_ARCHERYRANGE_LVL3_BUILD_SPEED 		1.25    

#define	M_ROHAN_ARCHERYRANGE_BOUNTY_VALUE			75

;------------------------ARMORY-------------
#define M_ROHAN_ARMORY_BUILDCOST				1500
#define M_ROHAN_ARMORY_BUILDTIME				45
#define M_ROHAN_ARMORY_VISIONRANGE			160
#define M_ROHAN_ARMORY_SHROUDCLEAR			160
#define M_ROHAN_ARMORY_MAXHEALTH				3000
#define M_ROHAN_ARMORY_MAXHEALTHDAMAGED			2000
#define M_ROHAN_ARMORY_MAXHEALTH_REALLYDAMAGED		1000

#define	M_ROHAN_ARMORY_LVL1_EXP_AWARD 			50
#define	M_ROHAN_ARMORY_LVL2_EXP_AWARD 			60
#define	M_ROHAN_ARMORY_LVL3_EXP_AWARD 			70

#define M_ROHAN_ARMORY_LVL2_EXP_NEEDED			6000 ;2400
#define M_ROHAN_ARMORY_LVL3_EXP_NEEDED 			10000 ;4800

#define	M_ROHAN_ARMORY_LVL2_HP_ADD	 		1500
#define	M_ROHAN_ARMORY_LVL3_HP_ADD	 		1500

#define M_ROHAN_ARMORY_LVL2_BUILD_SPEED 			1.10   
#define M_ROHAN_ARMORY_LVL3_BUILD_SPEED 			1.25    

#define	M_ROHAN_ARMORY_BOUNTY_VALUE			375

;------------------------WELL-------------
#define M_ROHAN_WELL_BUILDCOST				200
#define M_ROHAN_WELL_BUILDTIME				45
#define M_ROHAN_WELL_VISIONRANGE				160
#define M_ROHAN_WELL_SHROUDCLEAR				160
#define M_ROHAN_WELL_MAXHEALTH				1500
#define M_ROHAN_WELL_MAXHEALTHDAMAGED			1300
#define M_ROHAN_WELL_MAXHEALTH_REALLYDAMAGED		700

#define	M_ROHAN_WELL_BOUNTY_VALUE				50

;------------------------WALL-------------
#define M_ROHAN_CASTLE_WALL_HEALTH			5000

;------------------------HEROICSTATUE-------------
#define M_ROHAN_HEROSTATUE_BUILDCOST			150
#define M_ROHAN_HEROSTATUE_BUILDTIME			20
#define M_ROHAN_HEROSTATUE_VISIONRANGE			160
#define M_ROHAN_HEROSTATUE_SHROUDCLEAR			300
#define M_ROHAN_HEROSTATUE_MAXHEALTH			1500

#define	M_ROHAN_HEROSTATUE_BOUNTY_VALUE			38

;------------------------FLAGS------------------------
#define M_ROHAN_FLAG_ECONOMY_UNPACK_COST			5000			; This is actally the ent moot
#define M_ROHAN_FLAG_ECONOMY_UNPACK_FARM_COST		200				; This is the farm
#define M_ROHAN_FLAG_ECONOMY_UNPACK_COMMANDPOINTS 	0				; This economy building requrest command points test
#define M_ROHAN_FLAG_OUTPOST_UNPACK_COST			800 ;400
#define M_ROHAN_FLAG_CAMP_UNPACK_COST			2000 ;800
#define M_ROHAN_FLAG_CASTLE_UNPACK_COST			5000

;------------------------MOOT-------------
#define M_ROHAN_ENT_MOOT_COST				2000
#define M_ROHAN_ENT_MOOT_BUILD_TIME 			60
#define M_ROHAN_ENT_MOOT_HEALTH				6000

;------------------------FARM-------------

#define M_ELVEN_FARM_LVL2_EXP_NEEDED			1000
#define M_ELVEN_FARM_LVL3_EXP_NEEDED 			7000

;------------------------ELVEN----------------------------
;------------------------UNITS------------------------

;------------------------SHIP-------------
#define	M_GOODMEN_SHIP_VISION_RANGE		 	500


#define M_GOOD_BOMBARDSHIP_BUILDTIME			45
#define M_GOOD_BOMBARDSHIP_BUILDCOST			1500 ; ; 3000
#define M_GOOD_BOMBARDSHIP_HEALTH				1000

#define M_GOOD_FIRESHIP_BUILDTIME				45 ; ; 15
#define M_GOOD_FIRESHIP_BUILDCOST				1000 ; ; 500
#define M_GOOD_FIRESHIP_HEALTH				1200 ; ; 1000

#define M_GOOD_BATTLESHIP_BUILDTIME			20
#define M_GOOD_BATTLESHIP_BUILDCOST			400 ; ; 750
#define M_GOOD_BATTLESHIP_HEALTH				1000

#define	M_GOOD_SHIP_LOVEOFTHESEA_BUILDCOST		200
#define	M_GOOD_SHIP_LOVEOFTHESEA_BUILDTIME		10

#define	M_GOOD_SHIP_CIRDANSCRAFTWORK_BUILDCOST		300
#define	M_GOOD_SHIP_CIRDANSCRAFTWORK_BUILDTIME		10

#define	M_GOOD_SHIP_REGEN_AMOUNT				10
#define	M_GOOD_SHIP_REGEN_DELAY				1000
#define	M_GOOD_SHIP_HEAL_DELAY				5000

#define M_GOOD_SHIP_ANTI_SHIP_WEAPON_RANGE		350
#define M_GOOD_SHIP_ANTI_SHIP_WEAPON_DAMAGE		25
#define M_GOOD_SHIP_ANTI_SHIP_SPEED			100 ; ; 120

#define M_GOOD_SHIP_BOMBARD_WEAPON_RANGE			1400 ; ; 1000
#define M_GOOD_SHIP_BOMBARD_WEAPON_MIN_RANGE		400
#define M_GOOD_SHIP_BOMBARD_WEAPON_DAMAGE			500
#define M_GOOD_SHIP_BOMBARD_WEAPON_FIRE_RATE		12000 ; ; 5000
#define M_GOOD_SHIP_BOMBARD_SPEED				80

#define M_GOOD_SHIP_TRANSPORT_SPEED			70

#define M_GOOD_FIRE_SHIP_RANGE				5
#define M_GOOD_FIRE_SHIP_TIMEOUT				30000		; time it takes for the ship to die
#define M_GOOD_FIRE_SHIP_WHIRLPOOL_TIMEOUT		6500		; time the pool hangs around for ; ; 10000
#define M_GOOD_FIRE_SHIP_WHIRLPOOL_RADIUS			200
#define M_GOOD_FIRE_SHIP_WHIRLPOOL_DAMAGE_RADIUS_01	60			; The smaller more damaging centre ; ; 100
#define M_GOOD_FIRE_SHIP_WHIRLPOOL_DAMAGE_RADIUS_02	190			; The outer less damaging ring
#define M_GOOD_FIRE_SHIP_WHIRLPOOL_DAMAGE_AMOUNT_01	120 ; ; 80
#define M_GOOD_FIRE_SHIP_WHIRLPOOL_DAMAGE_AMOUNT_02	10 ; ; 20

#define M_GOOD_SHIP_FIRE_DAMAGE_TIMEOUT			500												; The tick timeout.
#define M_GOOD_SHIP_FIRE_DAMAGE_AMOUNT			5												; The damage dealt per tick.
#define M_GOOD_SHIP_FIRE_DAMAGE_HEALTH			#MULTIPLY( M_GOOD_BATTLESHIP_HEALTH 0.8 )			; The amount of damage we take before catching fire.

;------------------------MIRKWOOD ARCHER HORDE-------------
;------------------------ARCHER-------------
#define M_ELVEN_MIRKWOOD_ARCHER_BUILDCOST				700 ;200 ; ; 800
#define M_ELVEN_MIRKWOOD_ARCHER_BUILDTIME				45 ;20
#define M_ELVEN_MIRKWOOD_ARCHER_HEALTH				200 ; ; 150
#define M_ELVEN_MIRKWOOD_ARCHER_HEALTH_DAMAGED			50
#define M_ELVEN_MIRKWOOD_ARCHER_HEALTH_RECOVERY_TIME		10000
#define	M_ELVEN_MIRKWOOD_ARCHER_VISION_RANGE 			600
#define	M_ELVEN_MIRKWOOD_ARCHER_HORDE_VISION_RANGE 		550 ; Slightly shorter than the archer's actual weapon range / this should be considered the actual range of the unit. -GB
#define	M_ELVEN_MIRKWOOD_ARCHER_HORDE_SHROUD_RANGE 		700

#define	M_ELVEN_MIRKWOOD_ARCHER_RANGE				450
#define	M_ELVEN_MIRKWOOD_ARCHER_BOMBARD_MINRANGE	150
#define	M_ELVEN_MIRKWOOD_ARCHER_BOMBARD_MAXRANGE	510 ; ; 450

#define	M_ELVEN_MIRKWOOD_ARCHER_DAMAGE			90  
#define	M_ELVEN_MIRKWOOD_ARCHER_DAMAGE_UPGRADE_PIERCE		120	; total=150
#define	M_ELVEN_MIRKWOOD_ARCHER_DAMAGE_UPGRADE_MAGIC		30	; total=150

#define	M_ELVEN_MIRKWOOD_ARCHER_FIRE_UPGRADE_DAMAGE		10 
#define	M_ELVEN_MIRKWOOD_ARCHER_FIRE_UPGRADE_FLAME		15; 20  

#define M_ELVEN_MIRKWOOD_ARCHER_BOW_PREATTACKDELAY 		500
#define M_ELVEN_MIRKWOOD_ARCHER_BOW_RELOADTIME_MIN		750
#define M_ELVEN_MIRKWOOD_ARCHER_BOW_RELOADTIME_MAX		1000
#define	M_ELVEN_MIRKWOOD_ARCHER_BOUNTY_VALUE         		20


;------------------------BANNER-------------
#define M_ELVEN_BANNER_HEALTH					125
#define M_ELVEN_BANNER_HEALTH_DAMAGED			75
#define M_ELVEN_BANNER_HEALTH_RECOVERY_TIME	10000
#define	M_ELVEN_BANNER_VISION_RANGE 			175
#define	M_ELVEN_BANNER_BOUNTY_VALUE			15
#define	M_ELVEN_BANNER_COST					800
#define	M_ELVEN_BANNER_BUILDTIME				30


;------------------------RIVENDELLLANCER-------------

#define M_ELVEN_RIVENDELLLANCER_BUILDCOST			500
#define M_ELVEN_RIVENDELLLANCER_BUILDTIME			30
#define M_ELVEN_RIVENDELLLANCER_HEALTH			300 
#define M_ELVEN_RIVENDELLLANCER_HEALTH_DAMAGED		150 
#define M_ELVEN_RIVENDELLLANCER_HEALTH_RECOVERY_TIME	10000
#define	M_ELVEN_RIVENDELLLANCER_VISION_RANGE 		275 ; ; 175
#define	M_ELVEN_RIVENDELLLANCER_HORDE_VISION_RANGE 	275 ; ; 175
#define	M_ELVEN_RIVENDELLLANCER_SHROUD_RANGE 		500

#define	M_ELVEN_RIVENDELLLANCER_LANCE_DAMAGE	 	60
#define	M_ELVEN_RIVENDELLLANCER_LANCE_DAMAGE_UPGRADE	90 ; ; 120

#define M_ELVEN_RIVENDELLLANCER_PREATTACKDELAY 		500
#define M_ELVEN_RIVENDELLLANCER_DELAYBETWEENSHOTS 	1000
#define M_ELVEN_RIVENDELLLANCER_FIRINGDURATION 		1000

#define	M_ELVEN_RIVENDELLLANCER_BOUNTY_VALUE		12

;------------------------LORIENWARRIOR-------------
#define M_ELVEN_LORIENWARRIOR_BUILDCOST			400 ; ; 300
#define M_ELVEN_LORIENWARRIOR_BUILDTIME			30 
#define M_ELVEN_LORIENWARRIOR_HEALTH			160 ; ; 125
#define M_ELVEN_LORIENWARRIOR_HEALTH_DAMAGED		75
#define M_ELVEN_LORIENWARRIOR_HEALTH_RECOVERY_TIME		10000
#define	M_ELVEN_LORIENWARRIOR_VISION_RANGE 		175
#define	M_ELVEN_LORIENWARRIOR_HORDE_VISION_RANGE 		175
#define	M_ELVEN_LORIENWARRIOR_HORDE_SHROUD_RANGE 		500

;Sword
#define M_ELVEN_LORIENWARRIOR_SWORD_PREATTACKDELAY 	700
#define M_ELVEN_LORIENWARRIOR_SWORD_DELAYBETWEENSHOTS 	1500
#define M_ELVEN_LORIENWARRIOR_SWORD_FIRINGDURATION 	800

;#define	M_ROHAN_ELVEN_RANGE			400
;#define	M_ROHAN_ELVEN_DAMAGE			30 
;#define	M_ROHAN_ELVEN_FIRE_UPGRADE_DAMAGE		30 
;#define	M_ROHAN_ELVEN_FIRE_UPGRADE_DAMAGE_FLAME	15 

#define	M_ELVEN_FIGHTER_MELEE_DAMAGE			80 
#define	M_ELVEN_FIGHTER_MELEE_DAMAGE_UPGRADE		120  ; ; 160

#define	M_ELVEN_LORIENWARRIOR_BOUNTY_VALUE		5

;------------------------LORIENARCHER-------------
#define M_ELVEN_LORIENARCHER_BUILDCOST			300
#define M_ELVEN_LORIENARCHER_BUILDTIME			25  ; ; 30

#define M_ELVEN_LORIENARCHER_HEALTH			125
#define M_ELVEN_LORIENARCHER_HEALTH_DAMAGED		50
#define M_ELVEN_LORIENARCHER_HEALTH_RECOVERY_TIME		10000

#define	M_ELVEN_LORIENARCHER_VISION_RANGE 		400 
#define M_ELVEN_LORIENARCHER_HORDE_SHROUD_RANGE		500
#define	M_ELVEN_LORIENARCHER_HORDE_VISION_RANGE 		350 ; Slightly shorter than the archer's actual weapon range / this should be considered the actual range of the unit. -GB

#define	M_ELVEN_LORIENARCHER_HORDE_BOMBARD_MINRANGE 	200
#define	M_ELVEN_LORIENARCHER_HORDE_BOMBARD_MAXRANGE 	350

#define	M_ELVEN_LORIENARCHER_ARCHER_RANGE				350
#define	M_ELVEN_LORIENARCHER_ARCHER_BOMBARD_MINRANGE	150
#define	M_ELVEN_LORIENARCHER_ARCHER_BOMBARD_MAXRANGE	400 ; ; 350

#define	M_ELVEN_LORIENARCHER_ARCHER_DAMAGE		40 

#define	M_ELVEN_LORIENARCHER_ARCHER_DAMAGE_UPGRADE_PIERCE	40	; total=80 ; ; 60
#define	M_ELVEN_LORIENARCHER_ARCHER_DAMAGE_UPGRADE_MAGIC	20	; total=80

;------------------------MITHLONDSENTRY-------------
#define M_ELVEN_MITHLONDSENTRY_BUILDCOST			350 ; ; 300
#define M_ELVEN_MITHLONDSENTRY_BUILDTIME			42  ; ; 30
#define M_ELVEN_MITHLONDSENTRY_HEALTH			125
#define M_ELVEN_MITHLONDSENTRY_HEALTH_DAMAGED		100
#define M_ELVEN_MITHLONDSENTRY_HEALTH_RECOVERY_TIME		10000
#define	M_ELVEN_MITHLONDSENTRY_SHROUD_RANGE 		500
#define	M_ELVEN_MITHLONDSENTRY_VISION_RANGE 		175
#define	M_ELVEN_MITHLONDSENTRY_HORDE_VISION_RANGE 	175

;Pike
#define M_ELVEN_MITHLONDSENTRY_PIKE_PREATTACKDELAY 	600
#define M_ELVEN_MITHLONDSENTRY_PIKE_DELAYBETWEENSHOTS 	1000
#define M_ELVEN_MITHLONDSENTRY_PIKE_FIRINGDURATION 	1000
#define M_ELVEN_MITHLONDSENTRY_PIKE_DAMAGE 		55
#define M_ELVEN_MITHLONDSENTRY_PIKE_DAMAGE_UPGRADE	85 ; ; 110

;Zephyr Strike
#define M_ZEPHYR_STRIKE_RANGE						0.8
#define M_ZEPHYR_STRIKE_DAMAGE					50
#define M_ZEPHYR_STRIKE_RADIUS					50
#define M_ZEPHYR_STRIKE_SHOCKWAVE_AMOUNT			35
#define M_ZEPHYR_STRIKE_SHOCKWAVE_RADIUS			100
#define M_ZEPHYR_STRIKE_SHOCKWAVE_SPEED			300

#define	M_ELVEN_MITHLONDSENTRY_BOUNTY_VALUE			5

;------------------------PORTER-------------
#define M_ELVEN_PORTER_BUILDCOST				500
#define M_ELVEN_PORTER_BUILDTIME				30 
#define M_ELVEN_PORTER_HEALTH				500
#define M_ELVEN_PORTER_HEALTH_DAMAGED			250
#define M_ELVEN_PORTER_HEALTH_RECOVERY_TIME		10000
#define	M_ELVEN_PORTER_VISION_RANGE 			25
#define	M_ELVEN_PORTER_SHROUD_RANGE 			100

#define	M_ELVEN_PORTER_BOUNTY_VALUE       		125


;------------------------STRUCTURES------------------------------------------------
;------------------------MALLORN TREE-------------
#define M_ELVEN_MALLORN_TREE_MONEY_TIME 				6000			; in milliseconds
#define M_ELVEN_MALLORN_TREE_MONEY_AMOUNT				25			; cash amount to deposit every DepositTiming
#define M_ELVEN_MALLORN_TREE_MONEY_RANGE				300

#define M_ELVEN_MALLORN_TREE_BUILDCOST				300
#define M_ELVEN_MALLORN_TREE_BUILDTIME				15
#define M_ELVEN_MALLORN_TREE_LEVEL2_UPGRADE_COST			500
#define M_ELVEN_MALLORN_TREE_LEVEL2_UPGRADE_BUILDTIME		30
#define M_ELVEN_MALLORN_TREE_LEVEL3_UPGRADE_COST			1000
#define M_ELVEN_MALLORN_TREE_LEVEL3_UPGRADE_BUILDTIME		60
#define	M_ELVEN_MALLORN_TREE_SHROUD_CLEAR				300
#define M_ELVEN_MALLORN_TREE_HEALTH				940 ; ; 2000
#define M_ELVEN_MALLORN_TREE_HEALTH_DAMAGED			630 ; ; 1333
#define M_ELVEN_MALLORN_TREE_HEALTH_REALLY_DAMAGED		310 ; ; 667

#define	M_ELVEN_MALLORN_TREE_LVL1_EXP_AWARD 			40
#define	M_ELVEN_MALLORN_TREE_LVL2_EXP_AWARD 			50
#define	M_ELVEN_MALLORN_TREE_LVL3_EXP_AWARD 			60

#define M_ELVEN_MALLORN_TREE_LVL2_EXP_NEEDED			1500
#define M_ELVEN_MALLORN_TREE_LVL3_EXP_NEEDED 			3000

#define	M_ELVEN_MALLORN_TREE_LVL2_HP_ADD	 			500
#define	M_ELVEN_MALLORN_TREE_LVL3_HP_ADD	 			1000

#define M_ELVEN_MALLORN_TREE_LVL2_BUILD_SPEED 			1.25   
#define M_ELVEN_MALLORN_TREE_LVL3_BUILD_SPEED 			1.5    

#define	M_ELVEN_MALLORN_TREE_BOUNTY_VALUE				75

;------------------------FORE-------------
#define M_ELVEN_FORGE_BUILDCOST					1000
#define M_ELVEN_FORGE_BUILDTIME					30
#define M_ELVEN_FORGE_LEVEL2_UPGRADE_COST				500
#define M_ELVEN_FORGE_LEVEL2_UPGRADE_BUILDTIME			30
#define M_ELVEN_FORGE_LEVEL3_UPGRADE_COST				1000
#define M_ELVEN_FORGE_LEVEL3_UPGRADE_BUILDTIME			60
#define	M_ELVEN_FORGE_SHROUD_CLEAR				160
#define M_ELVEN_FORGE_HEALTH					3000
#define M_ELVEN_FORGE_HEALTH_DAMAGED				2000
#define M_ELVEN_FORGE_HEALTH_REALLY_DAMAGED			1000

#define	M_ELVEN_FORGE_LVL1_EXP_AWARD 				50
#define	M_ELVEN_FORGE_LVL2_EXP_AWARD 				60
#define	M_ELVEN_FORGE_LVL3_EXP_AWARD 				70

#define M_ELVEN_FORGE_LVL2_EXP_NEEDED				100
#define M_ELVEN_FORGE_LVL3_EXP_NEEDED 				1000

#define	M_ELVEN_FORGE_LVL2_HP_ADD	 				1500
#define	M_ELVEN_FORGE_LVL3_HP_ADD	 				1500

#define M_ELVEN_FORGE_LVL2_BUILD_SPEED 				1.10   
#define M_ELVEN_FORGE_LVL3_BUILD_SPEED 				1.25    

#define	M_ELVEN_FORGE_BOUNTY_VALUE				250

;------------------------BARRACKS-------------
#define M_ELVEN_BARRACKS_BUILDCOST				300
#define M_ELVEN_BARRACKS_BUILDTIME				25 ; ; 30
#define M_ELVEN_BARRACKS_LEVEL2_UPGRADE_COST			1000 ; ; 500
#define M_ELVEN_BARRACKS_LEVEL2_UPGRADE_BUILDTIME			30
#define M_ELVEN_BARRACKS_LEVEL3_UPGRADE_COST			350 ; ; 1000
#define M_ELVEN_BARRACKS_LEVEL3_UPGRADE_BUILDTIME			60
#define	M_ELVEN_BARRACKS_SHROUD_CLEAR				160
#define M_ELVEN_BARRACKS_HEALTH					3000
#define M_ELVEN_BARRACKS_HEALTH_DAMAGED				2000
#define M_ELVEN_BARRACKS_HEALTH_REALLY_DAMAGED			1000

#define	M_ELVEN_BARRACKS_LVL1_EXP_AWARD 				50
#define	M_ELVEN_BARRACKS_LVL2_EXP_AWARD 				60
#define	M_ELVEN_BARRACKS_LVL3_EXP_AWARD 				70

#define M_ELVEN_BARRACKS_LVL2_EXP_NEEDED				100
#define M_ELVEN_BARRACKS_LVL3_EXP_NEEDED 				1000

#define	M_ELVEN_BARRACKS_LVL2_HP_ADD	 			1500
#define	M_ELVEN_BARRACKS_LVL3_HP_ADD	 			1500

#define M_ELVEN_BARRACKS_LVL2_BUILD_SPEED 			1.10   
#define M_ELVEN_BARRACKS_LVL3_BUILD_SPEED 			1.25    

#define	M_ELVEN_BARRACKS_BOUNTY_VALUE				75

;------------------------GREEN PASTURE AKA ELVEN STABLE-------------
#define M_ELVEN_GREEN_PASTURE_BUILDCOST				600
#define M_ELVEN_GREEN_PASTURE_BUILDTIME				45 ; ; 30
#define M_ELVEN_GREEN_PASTURE_LEVEL2_UPGRADE_COST			150 ; ; 200
#define M_ELVEN_GREEN_PASTURE_LEVEL2_UPGRADE_BUILDTIME		30
#define M_ELVEN_GREEN_PASTURE_LEVEL3_UPGRADE_COST			250 ; ; 400
#define M_ELVEN_GREEN_PASTURE_LEVEL3_UPGRADE_BUILDTIME		60
#define	M_ELVEN_GREEN_PASTURE_SHROUD_CLEAR			160
#define M_ELVEN_GREEN_PASTURE_HEALTH				3000
#define M_ELVEN_GREEN_PASTURE_HEALTH_DAMAGED			2000
#define M_ELVEN_GREEN_PASTURE_HEALTH_REALLY_DAMAGED		1000
#define	M_ELVEN_GREEN_PASTURE_VISION_RANGE 			430

#define	M_ELVEN_GREEN_PASTURE_LVL1_EXP_AWARD 			50
#define	M_ELVEN_GREEN_PASTURE_LVL2_EXP_AWARD 			60
#define	M_ELVEN_GREEN_PASTURE_LVL3_EXP_AWARD 			70

#define M_ELVEN_GREEN_PASTURE_LVL2_EXP_NEEDED			100
#define M_ELVEN_GREEN_PASTURE_LVL3_EXP_NEEDED 			1000

#define	M_ELVEN_GREEN_PASTURE_LVL2_HP_ADD	 			1500
#define	M_ELVEN_GREEN_PASTURE_LVL3_HP_ADD	 			1500

#define M_ELVEN_GREEN_PASTURE_LVL2_BUILD_SPEED 			1.10   
#define M_ELVEN_GREEN_PASTURE_LVL3_BUILD_SPEED 			1.25    

#define	M_ELVEN_GREEN_PASTURE_BOUNTY_VALUE			150

#define 	M_ELVEN_GREEN_PASTURE_MAXHEALTH			3000
#define 	M_ELVEN_GREEN_PASTURE_MAXHEALTHDAMAGED		2000
#define 	M_ELVEN_GREEN_PASTURE_MAXHEALTH_REALLYDAMAGED	1000


;------------------------ELVEN TECHNOLOGY AND UPGRADES----------------------------
#define M_ELVEN_TECH_BASIC_TRAINING_BUILDCOST			750 ; ; 1000
#define M_ELVEN_TECH_BASIC_TRAINING_BUILDTIME			30

#define M_ELVEN_TECH_CLOAK_BUILDCOST				1000
#define M_ELVEN_TECH_CLOAK_BUILDTIME				30

#define M_ELVEN_TECH_SILVERTHORN_ARROWS_BUILDCOST			1000
#define M_ELVEN_TECH_SILVERTHORN_ARROWS_BUILDTIME			30

#define M_ELVEN_PERSONAL_BASIC_TRAINING_BUILDCOST			300
#define M_ELVEN_PERSONAL_BASIC_TRAINING_BUILDTIME			10

#define M_ELVEN_PERSONAL_CLOAK_BUILDCOST				300
#define M_ELVEN_PERSONAL_CLOAK_BUILDTIME				10

#define M_ELVEN_PERSONAL_SILVERTHORN_ARROWS_BUILDCOST		300
#define M_ELVEN_PERSONAL_SILVERTHORN_ARROWS_BUILDTIME		10

#define M_ELVEN_TECH_FORGED_BLADES_BUILDCOST			1000
#define M_ELVEN_TECH_FORGED_BLADES_BUILDTIME			30

#define M_ELVEN_PERSONAL_FORGED_BLADES_BUILDCOST			300
#define M_ELVEN_PERSONAL_FORGED_BLADES_BUILDTIME			10

#define M_ELVEN_TECH_HEAVY_ARMOR_BUILDCOST			1000
#define M_ELVEN_TECH_HEAVY_ARMOR_BUILDTIME			30

#define M_ELVEN_PERSONAL_HEAVY_ARMOR_BUILDCOST			400 ; ; 300
#define M_ELVEN_PERSONAL_HEAVY_ARMOR_BUILDTIME			10

#define M_ELDERRACES_TECH_WAR_BARDING_BUILDCOST			1000
#define M_ELDERRACES_TECH_WAR_BARDING_BUILDTIME			30

#define M_ELDERRACES_PERSONAL_WAR_BARDING_BUILDCOST		300
#define M_ELDERRACES_PERSONAL_WAR_BARDING_BUILDTIME		10


#define M_ELVEN_CASTLE_WALL_HUB_EXP_AWARD					10
#define M_ELVEN_CASTLE_WALL_GATE_EXP_AWARD				10


;//------------------------DWARVEN----------------------------
;//------------------------UNITS------------------------

;------------------------MEN OF DALE-------------
#define M_DWARVEN_MENOFDALE_BUILDCOST			300 ;200
#define M_DWARVEN_MENOFDALE_BUILDTIME			30 ;15
#define M_DWARVEN_MENOFDALE_HEALTH			200
#define M_DWARVEN_MENOFDALE_HEALTH_DAMAGED		100
#define M_DWARVEN_MENOFDALE_HEALTH_RECOVERY_TIME		10000
#define	M_DWARVEN_MENOFDALE_VISION_RANGE 			380
#define	M_DWARVEN_MENOFDALE_HORDE_VISION_RANGE 		370

#define M_DWARVEN_MENOFDALE_PREATTACKDELAY 		650 ; ; 1000
#define M_DWARVEN_MENOFDALE_BOW_RELOADTIME_MIN		1500
#define M_DWARVEN_MENOFDALE_BOW_RELOADTIME_MAX		2000

#define	M_DWARVEN_MENOFDALE_RANGE					380
#define	M_DWARVEN_MENOFDALE_BOMBARD_MINRANGE		150
#define	M_DWARVEN_MENOFDALE_BOMBARD_MAXRANGE		440 ; ; 380

;Yeoman damage is doubled because they miss 50%.  
#define	M_DWARVEN_MENOFDALE_DAMAGE			50

#define M_DWARVEN_MENOFDALE_DAMAGE_BLACKARROWS		100 ; ; 75
#define	M_DWARVEN_MENOFDALE_MELEE_DAMAGE			5

#define	M_DWARVEN_MENOFDALE_FIRE_UPGRADE_DAMAGE		50
#define	M_DWARVEN_MENOFDALE_FIRE_UPGRADE_DAMAGE_FIRE	50 

#define	M_DWARVEN_MENOFDALE_BOUNTY_VALUE			8

;------------------------PORTER-------------
#define M_DWARVEN_PORTER_BUILDCOST			500
#define M_DWARVEN_PORTER_BUILDTIME			30
#define M_DWARVEN_PORTER_HEALTH				500
#define M_DWARVEN_PORTER_HEALTH_DAMAGED			250
#define M_DWARVEN_PORTER_HEALTH_RECOVERY_TIME		10000
#define	M_DWARVEN_PORTER_VISION_RANGE 			25
#define	M_DWARVEN_PORTER_SHROUD_RANGE 			100

#define	M_DWARVEN_PORTER_BOUNTY_VALUE       		125

;//------------------------AXETHROWER-------------
#define M_DWARVEN_AXETHROWER_BUILDCOST				250
#define M_DWARVEN_AXETHROWER_BUILDTIME				20
#define M_DWARVEN_AXETHROWER_HEALTH				240
#define M_DWARVEN_AXETHROWER_HEALTH_DAMAGED			60
#define M_DWARVEN_AXETHROWER_HEALTH_RECOVERY_TIME			10000
#define	M_DWARVEN_AXETHROWER_VISION_RANGE 			300
#define	M_DWARVEN_AXETHROWER_HORDE_VISION_RANGE 			250
#define	M_DWARVEN_AXETHROWER_SHROUD_RANGE 			350
#define	M_DWARVEN_AXETHROWER_BOUNTY_VALUE        			4

#define M_DWARVEN_AXETHROWER_RANGE				370 ; ; 250
#define M_DWARVEN_AXETHROWER_BOMBARD_MINRANGE		125
#define M_DWARVEN_AXETHROWER_BOMBARD_MAXRANGE		425 ; ; 250

#define M_DWARVEN_AXETHROWER_DAMAGE				20 ; ; 50
#define M_DWARVEN_AXETHROWER_DAMAGE_FORGEDBLADES			40 ; ; 75

#define M_DWARVEN_AXETHROWER_PREATTACKDELAY			800
#define M_DWARVEN_AXETHROWER_FIRINGDURATION			2400
#define M_DWARVEN_AXETHROWER_DELAYBETWEENSHOTS			2000
#define M_DWARVEN_AXETHROWER_RELOADTIME_MIN			2000
#define M_DWARVEN_AXETHROWER_RELOADTIME_MAX			3000

;//------------------------GUARDIAN-------------
#define M_DWARVEN_GUARDIAN_BUILDCOST				250
#define M_DWARVEN_GUARDIAN_BUILDTIME				20
#define M_DWARVEN_GUARDIAN_HEALTH					400
#define M_DWARVEN_GUARDIAN_HEALTH_DAMAGED				200
#define M_DWARVEN_GUARDIAN_HEALTH_RECOVERY_TIME			10000
#define	M_DWARVEN_GUARDIAN_VISION_RANGE 				175
#define	M_DWARVEN_GUARDIAN_HORDE_VISION_RANGE 			175
#define	M_DWARVEN_GUARDIAN_SHROUD_RANGE 				400

#define	M_DWARVEN_GUARDIAN_AXE					50
#define M_DWARVEN_GUARDIAN_AXE_SIEGEHAMMER_VS_UNIT		10			; balance
#define M_DWARVEN_GUARDIAN_AXE_SIEGEHAMMER_VS_STRUCTURE		80		; balance
#define	M_DWARVEN_GUARDIAN_AXE_UPGRADE_INCREMENT			50 ; ; 100
#define M_DWARVEN_GUARDIAN_AXE_PREATTACKDELAY 			500
#define M_DWARVEN_GUARDIAN_AXE_DELAYBETWEENSHOTS 			1600 ; ; 1000
#define M_DWARVEN_GUARDIAN_AXE_FIRINGDURATION 			1600 ; ; 1000
#define	M_DWARVEN_GUARDIAN_BOUNTY_VALUE        			4

;//------------------------PHALANX-------------
#define M_DWARVEN_PHALANX_BUILDCOST				350 ; ; 300
#define M_DWARVEN_PHALANX_BUILDTIME				30 
#define	M_DWARVEN_PHALANX_VISION_RANGE 				175
#define	M_DWARVEN_PHALANX_SHROUD_RANGE 				400
#define	M_DWARVEN_PHALANX_HORDE_VISION_RANGE 			175
#define M_DWARVEN_PHALANX_HEALTH					500
#define M_DWARVEN_PHALANX_HEALTH_DAMAGED				125
#define M_DWARVEN_PHALANX_HEALTH_RECOVERY_TIME			10000

#define M_DWARVEN_PHALANX_STAB_PREATTACKDELAY 			600
#define M_DWARVEN_PHALANX_STAB_DELAYBETWEENSHOTS 			900
#define M_DWARVEN_PHALANX_STAB_FIRINGDURATION 			900
#define M_DWARVEN_PHALANX_STAB_DAMAGE				45
#define M_DWARVEN_PHALANX_DAMAGE_UPGRADE				90
;#define M_URUK_PIKE_PORCUPINE_DAMAGE				100
#define	M_DWARVEN_PHALANX_BOUNTY_VALUE				5

;//------------------------BATTLEWAGON--------
#define M_DWARVEN_BATTLEWAGON_BUILDCOST				500
#define M_DWARVEN_BATTLEWAGON_BUILDTIME				30
#define M_DWARVEN_BATTLEWAGON_HEALTH				3000
#define M_DWARVEN_BATTLEWAGON_HEALTH_DAMAGED			1500
#define	M_DWARVEN_BATTLEWAGON_VISION_RANGE 			275 ; ; 175
#define	M_DWARVEN_BATTLEWAGON_SHROUD_RANGE 			400
#define	M_DWARVEN_BATTLEWAGON_BOUNTY_VALUE			75
#define M_DWARVEN_BATTLEWAGON_SPEED				85

#define M_DWARVEN_BATTLEWAGON_DAMAGE				300 
#define M_DWARVEN_BATTLEWAGON_PREATTACKDELAY          		500  
#define M_DWARVEN_BATTLEWAGON_DELAYBETWEENSHOTS       		1000 
#define M_DWARVEN_BATTLEWAGON_FIRINGDURATION			1000 

#define M_BATTLEWAGON_OILBARREL_RANGE				150
#define M_BATTLEWAGON_OILBARREL_IMPACT_DAMAGE			100 ; ; 200
#define M_BATTLEWAGON_OILBARREL_IMPACT_DAMAGE_RADIUS		25

#define M_DWARVEN_BATTLEWAGON_PASSENGER_PREATTACKDELAY 		500
#define M_DWARVEN_BATTLEWAGON_PASSENGER_DELAYBETWEENSHOTS 	1000
#define M_DWARVEN_BATTLEWAGON_PASSENGER_FIRINGDURATION 		1000
#define M_DWARVEN_BATTLEWAGON_PASSENGER_RANGE			30
#define M_DWARVEN_BATTLEWAGON_PASSENGER_DAMAGE			50
#define M_DWARVEN_BATTLEWAGON_PASSENGER_DAMAGE_UPGRADED	   	50

#define M_DWARVEN_BATTLEWAGON_UPGRADE_COST					300 ; ; 200
#define M_DWARVEN_BATTLEWAGON_UPGRADE_TIME					10

#define M_DWARVEN_BATTLEWAGON_HEARTH_COST						400
#define M_DWARVEN_BATTLEWAGON_UPGRADE_TIME_HEARTH					45

;//------------------------BANNER-------------
#define M_DWARVEN_BANNER_BUILDCOST				800
#define M_DWARVEN_BANNER_BUILDTIME				30
#define M_DWARVEN_BANNER_HEALTH					400
#define M_DWARVEN_BANNER_HEALTH_DAMAGED			200
#define M_DWARVEN_BANNER_HEALTH_RECOVERY_TIME		10000
#define	M_DWARVEN_BANNER_VISION_RANGE 			175

#define	M_DWARVEN_BANNER_LVL1_EXP_AWARD 			5
#define	M_DWARVEN_BANNER_LVL2_EXP_AWARD 			6
#define	M_DWARVEN_BANNER_LVL3_EXP_AWARD 			7
#define	M_DWARVEN_BANNER_LVL4_EXP_AWARD 			8

#define	M_DWARVEN_BANNER_LVL2_EXP_NEEDED 			10000
#define	M_DWARVEN_BANNER_LVL3_EXP_NEEDED 			20000
#define	M_DWARVEN_BANNER_LVL4_EXP_NEEDED 			30000

#define	M_DWARVEN_BANNER_LVL2_HP_ADD				60
#define	M_DWARVEN_BANNER_LVL3_HP_ADD	 			60 ;100
#define	M_DWARVEN_BANNER_LVL4_HP_ADD	 			60 ;100

#define	M_DWARVEN_BANNER_LVL2_DAM_ADD				20
#define	M_DWARVEN_BANNER_LVL3_DAM_ADD				20
#define	M_DWARVEN_BANNER_LVL4_DAM_ADD				20 ;30
#define	M_DWARVEN_BANNER_BOUNTY_VALUE				5

;//uses same weapon as Dwarven Guardian.  

;//------------------------DWARVEN BATTERINGRAM AKA DEMOLISHER-------------
#define M_DWARVEN_BATTERINGRAM_BUILDCOST				600
#define M_DWARVEN_BATTERINGRAM_BUILDTIME				30
#define	M_DWARVEN_BATTERINGRAM_VISION_RANGE 			175
#define	M_DWARVEN_BATTERINGRAM_SHROUD_RANGE 			200
#define M_DWARVEN_BATTERINGRAM_HEALTH					4000
#define M_DWARVEN_BATTERINGRAM_HEALTH_DAMAGED			2000
#define M_DWARVEN_BATTERINGRAM_HEALTH_RECOVERY_TIME	10000
#define M_DWARVEN_BATTERINGRAM_PREATTACKDELAY 		1300
#define M_DWARVEN_BATTERINGRAM_DELAYBETWEENSHOTS 		3000
#define M_DWARVEN_BATTERINGRAM_FIRINGDURATION 		1100
#define M_DWARVEN_BATTERINGRAM_DAMAGE					700 ; ; 1000
#define	M_DWARVEN_BATTERINGRAM_BOUNTY_VALUE			150

;//------------------------CATAPULT-------------
#define M_DWARVEN_CATAPULT_BUILDCOST			800
#define M_DWARVEN_CATAPULT_BUILDTIME			40 
#define M_DWARVEN_CATAPULT_HEALTH				2000 ;//240
#define M_DWARVEN_CATAPULT_HEALTH_DAMAGED			100
#define	M_DWARVEN_CATAPULT_VISION_RANGE 			550

#define	M_DWARVEN_CATAPULT_LVL1_EXP_AWARD 		10

#define M_DWARVEN_CATAPULT_ROCK_PREATTACKDELAY 		800
#define M_DWARVEN_CATAPULT_ROCK_DELAYBETWEENSHOTS 	6000
#define M_DWARVEN_CATAPULT_ROCK_FIRINGDURATION 		3000

#define M_DWARVEN_CATAPULT_EXPANSION_AIM_DELTA		90

#define M_DWARVEN_CATAPULT_ROCK_MINRANGE			150

#define	M_DWARVEN_CATAPULT_ROCK_RANGE			450 ; ; 500
#define	M_DWARVEN_CATAPULT_ROCK_DAMAGE			195 ; ; 300
#define	M_DWARVEN_CATAPULT_FLAME_DAMAGE			130 ; ; 200
#define M_DWARVEN_CATAPULT_HEADS_PREATTACKDELAY 		800
#define M_DWARVEN_CATAPULT_HEADS_DELAYBETWEENSHOTS 	6000
#define M_DWARVEN_CATAPULT_HEADS_FIRINGDURATION 		3000
#define	M_DWARVEN_CATAPULT_HEADS_RANGE			420 ;//400
#define	M_DWARVEN_CATAPULT_HEADS_DAMAGE			60

#define M_DWARVEN_CATAPULT_OILBARREL_RANGE	500

#define	M_DWARVEN_CATAPULT_BOUNTY_VALUE			200

;//------------------------STRUCTURES------------------------

;//------------------------Dwarven Fortress-------------
#define M_DWARVEN_FORTRESS_BUILDCOST				5000
#define M_DWARVEN_FORTRESS_BUILDTIME				120
#define M_DWARVEN_FORTRESS_VISION_RANGE				400
#define	M_DWARVEN_FORTRESS_SHROUD_CLEAR				800
#define M_DWARVEN_FORTRESS_HEALTH					7500
#define M_DWARVEN_FORTRESS_HEALTH_DAMAGED				5000
#define M_DWARVEN_FORTRESS_HEALTH_REALLY_DAMAGED			3500

#define	M_DWARVEN_FORTRESS_BOUNTY_VALUE				1250

#define M_DWARVEN_FORTRESS_WALL_EFFECTIVE_RADIUS			400 ; ; 1500

#define M_DWARVEN_FORTRESS_FIRE_FUEL				100
#define M_DWARVEN_FORTRESS_FIRE_MAX_BURN_RATE			20
#define M_DWARVEN_FORTRESS_FIRE_DECAY				5
#define M_DWARVEN_FORTRESS_FIRE_RESISTANCE			10

#define M_DWARVEN_CATAPULT_TOWER_BUILDCOST			2500
#define M_DWARVEN_CATAPULT_TOWER_BUILDTIME			30

#define	M_DWARVEN_MIGHTYCATAPULT_RANGE				2000
#define	M_DWARVEN_MIGHTYCATAPULT_ROCK_DAMAGE			500
#define	M_DWARVEN_MIGHTYCATAPULT_FLAME_DAMAGE			500
#define M_DWARVEN_MIGHTYCATAPULT_DAMAGE_RADIUS			100

#define M_DWARVEN_MIGHTYCATAPULT_PREATTACKDELAY 			400
#define M_DWARVEN_MIGHTYCATAPULT_DELAYBETWEENSHOTS 		5000
#define M_DWARVEN_MIGHTYCATAPULT_FIRINGDURATION 			3000

#define M_DWARVEN_SIEGE_KEGS_BUILDCOST				1000
#define M_DWARVEN_SIEGE_KEGS_BUILDTIME				30

#define M_DWARVEN_OIL_CASK_BUILDCOST				1500
#define M_DWARVEN_OIL_CASK_BUILDTIME				30

#define M_DWARVEN_FORTRESS_BANNER_BUILDCOST			500
#define M_DWARVEN_FORTRESS_BANNER_BUILDTIME			5

#define M_DWARVEN_STONEWORK_BANNER_BUILDCOST			1600 ; ; 2000
#define M_DWARVEN_STONEWORK_BANNER_BUILDTIME			30

#define M_DWARVEN_FLAMING_MUNITIONS_BUILDCOST			1500
#define M_DWARVEN_FLAMING_MUNITIONS_BUILDTIME			30

#define M_DWARVEN_SIEGE_KEGS_HEALTH_BONUS				1000
#define M_DWARVEN_STONEWORK_KEEP_HEALTH_BONUS			0 ; Nerfing the Fortress Armor Upgrade -GB
#define M_DWARVEN_STONEWORK_KEEP_ARMOR_BONUS			0.35 ; ; .5
#define M_DWARVEN_STONEWORK_EXPANSION_HEALTH_BONUS		0 ; Nerfing the Fortress Armor Upgrade -GB
#define M_DWARVEN_STONEWORK_EXPANSION_ARMOR_BONUS			0.35 ; ; .5

//------------------------Dwarven Catapult Expansion-------------
#define M_DWARVEN_CATAPULTEXPANSION_BUILDCOST			1200
#define M_DWARVEN_CATAPULTEXPANSION_BUILDTIME			20 ; ; 30
#define M_DWARVEN_CATAPULTEXPANSION_HEALTH			1000
#define M_DWARVEN_CATAPULTEXPANSION_HEALTH_DAMAGED		500
#define M_DWARVEN_CATAPULTEXPANSION_HEALTH_REALLY_DAMAGED		250

//------------------------Dwarven Catapult Expansion-------------
#define M_DWARVEN_EREBORTOWEREXPANSION_BUILDCOST				370 ; ; 500
#define M_DWARVEN_EREBORTOWEREXPANSION_BUILDTIME				20 ; ; 30
#define M_DWARVEN_EREBORTOWEREXPANSION_HEALTH					1000
#define M_DWARVEN_EREBORTOWEREXPANSION_HEALTH_DAMAGED			500
#define M_DWARVEN_EREBORTOWEREXPANSION_HEALTH_REALLY_DAMAGED	250

//------------------------Dwarven Hall-------------
#define M_DWARVEN_HALLEXPANSION_BUILDCOST				400
#define M_DWARVEN_HALLEXPANSION_BUILDTIME				5
#define M_DWARVEN_HALLEXPANSION_HEALTH				1500
#define M_DWARVEN_HALLEXPANSION_HEALTH_DAMAGED			1000
#define M_DWARVEN_HALLEXPANSION_HEALTH_REALLY_DAMAGED		500

#define M_DWARVEN_HALLEXPANSION_HEAL_AMOUNT			10		; 10 health restored...
#define M_DWARVEN_HALLEXPANSION_HEAL_TIMEOUT			1000	; ...evey second.

#define M_DWARVEN_HALLEXPANSION_FIRE_FUEL				100
#define M_DWARVEN_HALLEXPANSION_FIRE_MAX_BURN_RATE		20
#define M_DWARVEN_HALLEXPANSION_FIRE_DECAY			5
#define M_DWARVEN_HALLEXPANSION_FIRE_RESISTANCE			10

;//------------------------Dwarven Walls-------------

;//------------------------SENTRY TOWER-------------
#define M_DWARVEN_SENTRY_TOWER_HEALTH				2500 ; ; 3000
#define M_DWARVEN_SENTRY_TOWER_BUILDCOST				450 ; ; 500
#define M_DWARVEN_SENTRY_TOWER_BUILDTIME				37 ; ; 60
#define M_DWARVEN_SENTRY_TOWER_BOUNTY				250

#define M_DWARVEN_SENTRY_TOWER_HEALTH_DAMAGED			1600 ; ; 2000
#define M_DWARVEN_SENTRY_TOWER_HEALTH_REALLYDAMAGED		800 ; ; 1000

#define M_DWARVEN_SENTRY_TOWER_AXE_UPGRADE_BUILDCOST		500
#define M_DWARVEN_SENTRY_TOWER_AXE_UPGRADE_BUILDTIME		30

;------------------------DwarvenWallHubSmall-------------
#define M_DWARVEN_WALLHUB_SMALL_BUILDCOST				120 ; ; 200
#define M_DWARVEN_WALLHUB_SMALL_BUILDTIME				45 ; ; 30
#define M_DWARVEN_WALLHUB_SMALL_VISION_RANGE			160
#define M_DWARVEN_WALLHUB_SMALL_SHROUD_CLEAR			160
#define M_DWARVEN_WALLHUB_SMALL_HEALTH				3000
#define M_DWARVEN_WALLHUB_SMALL_HEALTH_DAMAGED			2000
#define M_DWARVEN_WALLHUB_SMALL_HEALTH_REALLY_DAMAGED		1000
#define M_DWARVEN_WALL_HUB_SMALL_EXP_AWARD			10

;------------------------Dwarven Walls Small-------------
#define M_DWARVEN_WALLSEGMENT_SMALL_BUILDCOST			25 ; ; 50
#define M_DWARVEN_WALLSEGMENT_SMALL_BUILDTIME			25 ; ; 15
#define M_DWARVEN_WALLSEGMENT_SMALL_VISION_RANGE			160
#define M_DWARVEN_WALLSEGMENT_SMALL_SHROUD_CLEAR			160
#define M_DWARVEN_WALLSEGMENT_SMALL_HEALTH			3000
#define M_DWARVEN_WALLSEGMENT_SMALL_HEALTH_DAMAGED		2000
#define M_DWARVEN_WALLSEGMENT_SMALL_HEALTH_REALLY_DAMAGED		1000

;------------------------DwarvenWallGateSmall-------------
#define M_DWARVEN_WALLGATE_SMALL_BUILDCOST			250 ; ; 500
#define M_DWARVEN_WALLGATE_SMALL_BUILDTIME			30
#define M_DWARVEN_WALLGATE_SMALL_VISION_RANGE			160
#define M_DWARVEN_WALLGATE_SMALL_SHROUD_CLEAR			160
#define M_DWARVEN_WALLGATE_SMALL_HEALTH				2000
#define M_DWARVEN_WALLGATE_SMALL_HEALTH_DAMAGED			1500
#define M_DWARVEN_WALLGATE_SMALL_HEALTH_REALLY_DAMAGED		500
#define M_DWARVEN_WALL_GATE_SMALL_EXP_AWARD			10

;------------------------DwarvenWallPosternGateSmall-------------
#define M_DWARVEN_POSTERNGATE_SMALL_BUILDCOST			650 ; ; 300
#define M_DWARVEN_POSTERNGATE_SMALL_BUILDTIME			15
#define M_DWARVEN_POSTERNGATE_SMALL_VISION_RANGE			160
#define M_DWARVEN_POSTERNGATE_SMALL_SHROUD_CLEAR			160
#define M_DWARVEN_POSTERNGATE_SMALL_HEALTH			1000
#define M_DWARVEN_POSTERNGATE_SMALL_HEALTH_DAMAGED		1500
#define M_DWARVEN_POSTERNGATE_SMALL_HEALTH_REALLY_DAMAGED		750
#define M_DWARVEN_WALL_POSTERN_GATE_SMALL_EXP_AWARD	10

;------------------------DwarvenWallTowerSmall-------------
#define M_DWARVEN_WALLTOWER_SMALL_BUILDCOST			500
#define M_DWARVEN_WALLTOWER_SMALL_BUILDTIME			15
#define M_DWARVEN_WALLTOWER_SMALL_VISION_RANGE			200
#define M_DWARVEN_WALLTOWER_SMALL_SHROUD_CLEAR			250
#define M_DWARVEN_WALLTOWER_SMALL_HEALTH				3000
#define M_DWARVEN_WALLTOWER_SMALL_HEALTH_DAMAGED			2000
#define M_DWARVEN_WALLTOWER_SMALL_HEALTH_REALLY_DAMAGED		1000
#define M_DWARVEN_WALL_TOWER_SMALL_EXP_AWARD			10

;------------------------DwarvenWallCatapultSmall-------------
#define M_DWARVEN_WALLCATAPULT_SMALL_BUILDCOST			1200
#define M_DWARVEN_WALLCATAPULT_SMALL_BUILDTIME			30
#define M_DWARVEN_WALLCATAPULT_SMALL_VISION_RANGE			160
#define M_DWARVEN_WALLCATAPULT_SMALL_SHROUD_CLEAR			160
#define M_DWARVEN_WALLCATAPULT_SMALL_HEALTH			3000
#define M_DWARVEN_WALLCATAPULT_SMALL_HEALTH_DAMAGED		2000
#define M_DWARVEN_WALLCATAPULT_SMALL_HEALTH_REALLY_DAMAGED	1000
#define M_DWARVEN_WALL_CATAPULT_SMALL_EXP_AWARD			10

;------------------------WALL-------------
#define M_DWARVEN_CASTLE_WALL_HEALTH			5000
#define M_DWARVEN_WALL_HUB_COST				300
#define M_DWARVEN_WALL_SEGMENT_COST			200
#define M_DWARVEN_WALL_SEGMENT_BUILDTIME			15

//------------------------Dwarven Summoned Citadel-------------
#define M_DWARVEN_SUMMONED_CITADEL_HEALTH					10000
#define M_DWARVEN_SUMMONED_CITADEL_HEALTH_DAMAGED				5000
#define M_DWARVEN_SUMMONED_CITADEL_HEALTH_REALLY_DAMAGED			2500

#define	M_DWARVEN_SUMMONED_CITADEL_SUMMONING_DAMAGE			1000

;------------------------Dwarven Forge Works-------------
#define M_DWARVEN_FORGE_BUILDCOST                  400
#define M_DWARVEN_FORGE_BUILDTIME                   15
#define M_DWARVEN_FORGE_HEALTH                    1000
#define M_DWARVEN_FORGE_HEALTH_DAMAGED            500
#define M_DWARVEN_FORGE_HEALTH_REALLY_DAMAGED     250
#define M_DWARVEN_FORGE_SHROUD_CLEAR               160
#define M_DWARVEN_FORGE_MONEY_TIME                6000
#define M_DWARVEN_FORGE_MONEY_AMOUNT                15

#define M_DWARVEN_FORGE_LVL1_EXP_AWARD              50
#define M_DWARVEN_FORGE_LVL2_EXP_AWARD              60
#define M_DWARVEN_FORGE_LVL3_EXP_AWARD              70
 
#define M_DWARVEN_FORGE_LVL2_EXP_NEEDED            750     ;1200  ; 750
#define M_DWARVEN_FORGE_LVL3_EXP_NEEDED           4000     ;5000

#define M_DWARVEN_FORGE_LVL2_HP_ADD               1500
#define M_DWARVEN_FORGE_LVL3_HP_ADD               1500

#define M_DWARVEN_FORGE_LVL2_PRODUCTION              1.2   ;1.34
#define M_DWARVEN_FORGE_LVL3_PRODUCTION              1.12  ;1.25
#define M_DWARVEN_FORGE_BOUNTY_VALUE                100

#define M_DWARVEN_FORGE_LVL2_UPGRADE_COST			500
#define M_DWARVEN_FORGE_LVL2_UPGRADE_TIME          30
#define M_DWARVEN_FORGE_LVL3_UPGRADE_COST         1000
#define M_DWARVEN_FORGE_LVL3_UPGRADE_TIME			 60
;------------------------DwarvenBarracks-------------
#define	M_DWARVEN_BARRACKS_LVL2_UPGRADE_COST				150 ; ; 500
#define M_DWARVEN_BARRACKS_LVL2_UPGRADE_TIME				30
#define M_DWARVEN_BARRACKS_LVL2_UNIT_PRODUCTION_SPEED		1.10

#define	M_DWARVEN_BARRACKS_LVL3_UPGRADE_COST				350 ; ; 1000
#define M_DWARVEN_BARRACKS_LVL3_UPGRADE_TIME				30 ; ; 60
#define M_DWARVEN_BARRACKS_LVL3_UNIT_PRODUCTION_SPEED		1.25

#define M_DWARVEN_BARRACKS_BUILDCOST					400
#define M_DWARVEN_BARRACKS_BUILDTIME					25 ; ; 20

#define	M_DWARVEN_BARRACKS_SHROUD_CLEAR				160
#define M_DWARVEN_BARRACKS_HEALTH						5000
#define M_DWARVEN_BARRACKS_HEALTH_DAMAGED				2500
#define M_DWARVEN_BARRACKS_HEALTH_REALLY_DAMAGED		1250

#define	M_DWARVEN_BARRACKS_LVL1_EXP_AWARD 				50
#define	M_DWARVEN_BARRACKS_LVL2_EXP_AWARD 				60
#define	M_DWARVEN_BARRACKS_LVL3_EXP_AWARD 				70

#define M_DWARVEN_BARRACKS_LVL2_EXP_NEEDED				100
#define M_DWARVEN_BARRACKS_LVL3_EXP_NEEDED 			1000

#define	M_DWARVEN_BARRACKS_LVL2_HP_ADD	 				1500
#define	M_DWARVEN_BARRACKS_LVL3_HP_ADD	 				1500

#define M_DWARVEN_BARRACKS_LVL2_BUILD_SPEED 			1.10   
#define M_DWARVEN_BARRACKS_LVL3_BUILD_SPEED 			1.25    

#define	M_DWARVEN_BARRACKS_BOUNTY_VALUE				125

;------------------------DwarvenArcheryRange---------
#define M_DWARVEN_ARCHERYRANGE_BUILDCOST				350 ; ; 600
#define M_DWARVEN_ARCHERYRANGE_BUILDTIME				35 ; ; 45
#define M_DWARVEN_ARCHERYRANGE_VISIONRANGE			160
#define M_DWARVEN_ARCHERYRANGE_SHROUDCLEAR			161
#define M_DWARVEN_ARCHERYRANGE_MAXHEALTH				5000
#define M_DWARVEN_ARCHERYRANGE_MAXHEALTHDAMAGED			2500
#define M_DWARVEN_ARCHERYRANGE_MAXHEALTH_REALLYDAMAGED		1250

#define M_DWARVEN_ARCHERYRANGE_LEVEL2_UPGRADE_COST		500
#define M_DWARVEN_ARCHERYRANGE_LEVEL2_UPGRADE_BUILDTIME 		30
#define M_DWARVEN_ARCHERYRANGE_LEVEL3_UPGRADE_COST		1000
#define M_DWARVEN_ARCHERYRANGE_LEVEL3_UPGRADE_BUILDTIME		60

#define	M_DWARVEN_ARCHERYRANGE_LVL1_EXP_AWARD 			50
#define	M_DWARVEN_ARCHERYRANGE_LVL2_EXP_AWARD 			60
#define	M_DWARVEN_ARCHERYRANGE_LVL3_EXP_AWARD 			70

#define M_DWARVEN_ARCHERYRANGE_LVL2_EXP_NEEDED			1000
#define M_DWARVEN_ARCHERYRANGE_LVL3_EXP_NEEDED 			3600

#define	M_DWARVEN_ARCHERYRANGE_LVL2_HP_ADD	 		1500
#define	M_DWARVEN_ARCHERYRANGE_LVL3_HP_ADD	 		1500

#define M_DWARVEN_ARCHERYRANGE_LVL2_BUILD_SPEED 			1.10   
#define M_DWARVEN_ARCHERYRANGE_LVL3_BUILD_SPEED 			1.25    

#define	M_DWARVEN_ARCHERYRANGE_BOUNTY_VALUE			150

#define M_DWARVEN_PERSONAL_FIRE_ARROWS_BUILDCOST			300
#define M_DWARVEN_PERSONAL_FIRE_ARROWS_BUILDTIME			10

#define M_DWARVEN_TECH_FIRE_ARROWS_BUILDCOST			1000
#define M_DWARVEN_TECH_FIRE_ARROWS_BUILDTIME			30

;------------------------MINE SHAFT -------------

#define M_DWARVEN_MINE_BUILDCOST					300
#define M_DWARVEN_MINE_BUILDTIME					20 ; ; 15

#define M_DWARVEN_MINE_HEALTH					2700 ; ; 2000
#define M_DWARVEN_MINE_HEALTH_DAMAGED			1500 ; ; 1333
#define M_DWARVEN_MINE_HEALTH_REALLY_DAMAGED	766 ; ; 667

#define M_DWARVEN_MINE_LEVEL2_UPGRADE_COST			500
#define M_DWARVEN_MINE_LEVEL2_UPGRADE_BUILDTIME 			30
#define M_DWARVEN_MINE_LEVEL3_UPGRADE_COST			1000
#define M_DWARVEN_MINE_LEVEL3_UPGRADE_BUILDTIME			60
#define	M_DWARVEN_MINE_BOUNTY_VALUE				75
#define	M_DWARVEN_MINE_VISION_RANGE				160
#define	M_DWARVEN_MINE_SHROUD_CLEAR				300

#define M_DWARVEN_MINE_LVL2_EXP_NEEDED				1500
#define M_DWARVEN_MINE_LVL3_EXP_NEEDED 				3000
#define	M_DWARVEN_MINE_LVL1_EXP_AWARD 				40
#define	M_DWARVEN_MINE_LVL2_EXP_AWARD 				50
#define	M_DWARVEN_MINE_LVL3_EXP_AWARD 				60

#define M_DWARVEN_MINE_LVL2_HP_ADD					500
#define M_DWARVEN_MINE_LVL3_HP_ADD					1000

#define M_DWARVEN_MINE_MONEY_TIME 				6000
#define M_DWARVEN_MINE_MONEY_AMOUNT				25
#define M_DWARVEN_MINE_MONEY_RANGE				300

;------------------------FORGE WORKS -------------
#define M_DWARVEN_FORGEWORKS_BUILDCOST				1200
#define M_DWARVEN_FORGEWORKS_BUILDTIME				15
#define M_DWARVEN_FORGEWORKS_VISIONRANGE				160
#define M_DWARVEN_FORGEWORKS_SHROUDCLEAR				161
#define M_DWARVEN_FORGEWORKS_MAXHEALTH				3000
#define M_DWARVEN_FORGEWORKS_MAXHEALTHDAMAGED			2000
#define M_DWARVEN_FORGEWORKS_MAXHEALTH_REALLYDAMAGED		1000

#define M_DWARVEN_FORGEWORKS_LEVEL2_UPGRADE_COST			300 ; ; 500
#define M_DWARVEN_FORGEWORKS_LEVEL2_UPGRADE_BUILDTIME 		30
#define M_DWARVEN_FORGEWORKS_LEVEL3_UPGRADE_COST			1200 ; ; 1000
#define M_DWARVEN_FORGEWORKS_LEVEL3_UPGRADE_BUILDTIME		60

#define	M_DWARVEN_FORGEWORKS_LVL1_EXP_AWARD 			50
#define	M_DWARVEN_FORGEWORKS_LVL2_EXP_AWARD 			60
#define	M_DWARVEN_FORGEWORKS_LVL3_EXP_AWARD 			70

#define M_DWARVEN_FORGEWORKS_LVL2_EXP_NEEDED			1000
#define M_DWARVEN_FORGEWORKS_LVL3_EXP_NEEDED 			3600

#define	M_DWARVEN_FORGEWORKS_LVL2_HP_ADD	 			1500
#define	M_DWARVEN_FORGEWORKS_LVL3_HP_ADD	 			1500

#define M_DWARVEN_FORGEWORKS_LVL2_BUILD_SPEED 			1.10   
#define M_DWARVEN_FORGEWORKS_LVL3_BUILD_SPEED 			1.25    

#define	M_DWARVEN_FORGEWORKS_BOUNTY_VALUE				300

;------------------------HEARTH -------------
#define M_DWARVEN_HEARTH_MAXHEALTH				1500
#define M_DWARVEN_HEARTH_MAXHEALTHDAMAGED				1000
#define M_DWARVEN_HEARTH_MAXHEALTH_REALLYDAMAGED			500
#define M_DWARVEN_HEARTH_BUILDCOST				300
#define M_DWARVEN_HEARTH_BUILDTIME				45
#define M_DWARVEN_HEARTH_VISIONRANGE				160
#define M_DWARVEN_HEARTH_SHROUDCLEAR				300
#define	M_DWARVEN_HEARTH_BOUNTY_VALUE				75

;------------------------STATUE -------------
#define M_DWARVEN_STATUE_MAXHEALTH				1500
#define M_DWARVEN_STATUE_MAXHEALTHDAMAGED				1000
#define M_DWARVEN_STATUE_MAXHEALTH_REALLYDAMAGED			500
#define M_DWARVEN_STATUE_BUILDCOST				300
#define M_DWARVEN_STATUE_BUILDTIME				45
#define M_DWARVEN_STATUE_VISIONRANGE				160
#define M_DWARVEN_STATUE_SHROUDCLEAR				300
#define	M_DWARVEN_STATUE_BOUNTY_VALUE				75

#define M_DWARVEN_STATUE_AOE_RADIUS				200
#define M_DWARVEN_STATUE_AOE_RADIUS_DECAL			440 // should be about 2.2 times the radius
#define M_DWARVEN_STATUE_REFUND_VALUE				150

#define M_DWARVEN_HEARTH_AOE_RADIUS				200
#define M_DWARVEN_HEARTH_AOE_RADIUS_DECAL			440

;//---------------DWARVEN TECHNOLOGY AND UPGRADES--
#define M_DWARVEN_TECH_BASIC_TRAINING_BUILDCOST			1000
#define M_DWARVEN_TECH_BASIC_TRAINING_BUILDTIME			60

#define M_DWARVEN_TECH_FORGED_BLADES_BUILDCOST			300
#define M_DWARVEN_TECH_FORGED_BLADES_BUILDTIME			10

#define M_DWARVEN_TECH_SIEGE_HAMMER_BUILDCOST			300
#define M_DWARVEN_TECH_SIEGE_HAMMER_BUILDTIME			10

#define M_DWARVEN_TECH_HEAVY_ARMOR_BUILDCOST			300
#define M_DWARVEN_TECH_HEAVY_ARMOR_BUILDTIME			10

#define M_DWARVEN_TECH_FLAMING_SHOT_BUILDCOST			300
#define M_DWARVEN_TECH_FLAMING_SHOT_BUILDTIME			10

;-----
#define M_DWARVEN_PERSONAL_BASIC_TRAINING_BUILDCOST		250 ; ; 300
#define M_DWARVEN_PERSONAL_BASIC_TRAINING_BUILDTIME		10

#define M_DWARVEN_PERSONAL_FORGED_BLADES_BUILDCOST		1000
#define M_DWARVEN_PERSONAL_FORGED_BLADES_BUILDTIME		60

#define M_DWARVEN_PERSONAL_SIEGE_HAMMER_BUILDCOST			500 ; ; 1000
#define M_DWARVEN_PERSONAL_SIEGE_HAMMER_BUILDTIME			60

#define M_DWARVEN_PERSONAL_HEAVY_ARMOR_BUILDCOST			1000
#define M_DWARVEN_PERSONAL_HEAVY_ARMOR_BUILDTIME			60

#define M_DWARVEN_PERSONAL_FLAMING_SHOT_BUILDCOST			1000
#define M_DWARVEN_PERSONAL_FLAMING_SHOT_BUILDTIME			60

;------------------------MORDOR------------------------
;------------------------UNITS------------------------
;------------------------PORTER-------------
#define M_MORDOR_PORTER_BUILDCOST				500
#define M_MORDOR_PORTER_BUILDTIME				30
#define M_MORDOR_PORTER_HEALTH				500
#define M_MORDOR_PORTER_HEALTH_DAMAGED			250
#define M_MORDOR_PORTER_HEALTH_RECOVERY_TIME		10000
#define	M_MORDOR_PORTER_VISION_RANGE 			25
#define	M_MORDOR_PORTER_SHROUD_RANGE 			100

#define	M_MORDOR_PORTER_BOUNTY_VALUE      		125
;------------------------LABORER-------------
#define M_MORDOR_LABORER_BUILDCOST			20
#define M_MORDOR_LABORER_BUILDTIME			5
#define M_MORDOR_LABORER_HEALTH				60
#define M_MORDOR_LABORER_HEALTH_DAMAGED			30
#define M_MORDOR_LABORER_HEALTH_RECOVERY_TIME		10000
#define	M_MORDOR_LABORER_VISION_RANGE 			100

#define	M_MORDOR_LABORER_LVL1_EXP_AWARD 			1

#define	M_MORDOR_LABORER_DAMAGE				10 ; ; 5
#define	M_MORDOR_LABORER_FIRE_UPGRADE_DAMAGE 		400
#define M_MORDOR_LABORER_PREATTACKDELAY 			533
#define M_MORDOR_LABORER_DELAYBETWEENSHOTS 		733
#define M_MORDOR_LABORER_FIRINGDURATION 			733
#define	M_MORDOR_LABORER_BOUNTY_VALUE			5

;------------------------FIGHTER-------------
#define M_MORDOR_FIGHTER_BUILDCOST                  50  ; ; 100
#define M_MORDOR_FIGHTER_BUILDTIME                  17 ; ; 25
#define M_MORDOR_FIGHTER_HEALTH                     125
#define M_MORDOR_FIGHTER_HEALTH_DAMAGED             50
#define M_MORDOR_FIGHTER_HEALTH_RECOVERY_TIME    10000
#define M_MORDOR_FIGHTER_VISION_RANGE              175
#define M_MORDOR_FIGHTER_HORDE_VISION_RANGE        175
#define M_MORDOR_FIGHTER_HORDE_SHROUDCLEAR_RANGE        400

#define M_MORDOR_FIGHTER_DAMAGE                     12 ; ; 30
#define M_MORDOR_FIGHTER_PREATTACKDELAY            633
#define M_MORDOR_FIGHTER_DELAYBETWEENSHOTS        2400  ; ; 1000
#define M_MORDOR_FIGHTER_FIRINGDURATION           1200 ; ; 1000
#define M_MORDOR_FIGHTER_BOUNTY_VALUE                1

;------------------------GOBLIN-------------
#define M_MORDOR_GOBLIN_SWORDSMAN_DAMAGE                20 ; ; 10
#define M_MORDOR_GOBLIN_SWORDSMAN_HEALTH                30
#define M_MORDOR_GOBLIN_SWORDSMAN_PREATTACKDELAY       522
#define M_MORDOR_GOBLIN_SWORDSMAN_DELAYBETWEENSHOTS    245 
#define M_MORDOR_GOBLIN_SWORDSMAN_FIRINGDURATION       245

;------------------------ MORDOR ARCHER-------------
#define M_MORDOR_ARCHER_BUILDCOST				300 ;200
#define M_MORDOR_ARCHER_BUILDTIME				30 
#define M_MORDOR_ARCHER_HEALTH				200 ; ; 100
#define M_MORDOR_ARCHER_HEALTH_DAMAGED			25
#define M_MORDOR_ARCHER_HEALTH_RECOVERY_TIME		10000
#define	M_MORDOR_ARCHER_VISION_RANGE 			280
#define	M_MORDOR_ARCHER_HORDE_VISION_RANGE 		280
#define	M_MORDOR_ARCHER_SHROUD_RANGE 			300

#define M_MORDOR_ARCHER_PREATTACKDELAY 			1000
#define M_MORDOR_ARCHER_BOW_RELOADTIME_MIN		550 ; ; 1500
#define M_MORDOR_ARCHER_BOW_RELOADTIME_MAX		700 ; ; 2000

;orc archers miss 50% so they get double damage
#define	M_MORDOR_ARCHER_DAMAGE				20
#define	M_MORDOR_ARCHER_DAMAGE_MELEE			4

#define	M_MORDOR_ARCHER_RANGE						250 ; ; 275
#define	M_MORDOR_ARCHER_BOMBARD_MINRANGE			150
#define	M_MORDOR_ARCHER_BOMBARD_MAXRANGE			290 ; ; 275

#define	M_MORDOR_ARCHER_BOUNTY_VALUE			4

#define	M_MORDOR_ARCHER_DAMAGE_FIRE_PIERCE		20 ;8
#define	M_MORDOR_ARCHER_DAMAGE_FIRE_FLAME			40 ;12 ; ; 20

#define	M_MORDOR_ARCHER_BARRICADE_DAMAGE				100
#define	M_MORDOR_ARCHER_BARRICADE_DAMAGE_FIRE_PIERCE		100 ;8
#define	M_MORDOR_ARCHER_BARRICADE_DAMAGE_FIRE_FLAME		100 ;12

;------------------------ CORSAIR -------------

#define M_MORDOR_CORSAIR_BUILDTIME			30
#define M_MORDOR_CORSAIR_BUILDCOST			400

#define M_MORDOR_CORSAIR_INN_BUILDTIME		40		; balance ; ; 25
#define M_MORDOR_CORSAIR_INN_BUILDCOST		300		; balance

#define M_MORDOR_CORSAIR_HORDE_SHROUDCLEAR_RANGE		300
#define M_MORDOR_CORSAIR_HORDE_VISION_RANGE		320 ; ; 175


#define M_MORDOR_CORSAIR_FIRE_BOMB_RANGE				340 ; ; 200
#define M_MORDOR_CORSAIR_FIRE_BOMB_MIN_RANGE			100 ; ; 50
#define M_MORDOR_CORSAIR_HORDE_FIRE_BOMB_RANGE		240			; Should be smaller than the member range. ; ; 100
#define M_MORDOR_CORSAIR_HORDE_FIRE_BOMB_MIN_RANGE	125 ; ; 75
#define M_MORDOR_CORSAIR_FIRE_BOMB_PREATTACKDELAY		444 ; ; 1333
#define M_MORDOR_CORSAIR_FIRE_BOMB_RANDOM_PREATTACK	200
#define M_MORDOR_CORSAIR_FIRE_BOMB_FIRING_DURATION	2100
#define M_MORDOR_CORSAIR_FIRE_BOMB_DAMAGE				15 ; ; 25
#define M_MORDOR_CORSAIR_FIRE_BOMB_RADIUS				15
#define M_MORDOR_CORSAIR_FIRE_BOMB_SCATTER_RADIUS		20.0
#define M_MORDOR_CORSAIR_FIRE_BOMB_HIT_PERCENTAGE		20

;------------------------TROLL-------------
#define M_MORDOR_TROLL_BUILDCOST				600 ; ; 500
#define M_MORDOR_TROLL_BUILDTIME				45 ;30
#define M_MORDOR_TROLL_HEALTH				1500 ;2400
#define M_MORDOR_TROLL_HEALTH_DAMAGED			750
#define M_MORDOR_TROLL_HEALTH_RAMPAGE_DAMAGED		10
#define	M_MORDOR_TROLL_VISION_RANGE 			175

#define M_TROLL_SPEED							55

;Note - Tree does less damage but has a wide area of effect.  Tree for troops, Punch for Calv/heroes.
#define M_MORDOR_TROLL_PUNCH_PREATTACKDELAY 		500 ;533
#define M_MORDOR_TROLL_PUNCH_DELAYBETWEENSHOTS 		1000 ;1466
#define M_MORDOR_TROLL_PUNCH_FIRINGDURATION 		1000 ;934
#define	M_MORDOR_TROLL_PUNCH_DAMAGE			200

#define M_MORDOR_TROLL_SHOULDER_PREATTACKDELAY 		600
#define M_MORDOR_TROLL_SHOULDER_DELAYBETWEENSHOTS 	1400
#define M_MORDOR_TROLL_SHOULDER_FIRINGDURATION 		900
#define	M_MORDOR_TROLL_SHOULDER_DAMAGE			200

#define M_MORDOR_TROLL_TREE_PREATTACKDELAY 		600
#define M_MORDOR_TROLL_TREE_DELAYBETWEENSHOTS 		1400 ;2000
#define M_MORDOR_TROLL_TREE_FIRINGDURATION 		1400
#define	M_MORDOR_TROLL_TREE_DAMAGE			120

#define M_MORDOR_TROLL_ROCK_PREATTACKDELAY 		600 ;700
#define M_MORDOR_TROLL_ROCK_DELAYBETWEENSHOTS 	2067 ; 	2167
#define M_MORDOR_TROLL_ROCK_FIRINGDURATION 		1567 ; 2167
#define	M_MORDOR_TROLL_ROCK_DAMAGE			300 ;500
#define	M_MORDOR_TROLL_ROCK_RANGE				250

#define	M_MORDOR_CAVE_TROLL_ROCK_DAMAGE			250 ; ; 200

#define	M_MORDOR_TROLL_BOUNTY_VALUE			125

;------------------------ ATTACK TROLL-------------
#define M_MORDOR_ATTACKTROLL_BUILDCOST				1100 ; ; 1000
#define M_MORDOR_ATTACKTROLL_BUILDTIME				45 ;30
#define M_MORDOR_ATTACKTROLL_HEALTH				3000 ;2400
#define M_MORDOR_ATTACKTROLL_HEALTH_DAMAGED			2000
#define M_MORDOR_ATTACKTROLL_HEALTH_RAMPAGE_DAMAGED		100
#define	M_MORDOR_ATTACKTROLL_VISION_RANGE 			175
#define M_MORDOR_ATTACKTROLL_SHROUD_RANGE				400

;Note - Tree does less damage but has a wide area of effect.  Tree for troops, Punch for Calv/heroes.
#define M_MORDOR_ATTACKTROLL_PUNCH_PREATTACKDELAY 		500 ;533
#define M_MORDOR_ATTACKTROLL_PUNCH_DELAYBETWEENSHOTS 		1000 ;1466
#define M_MORDOR_ATTACKTROLL_PUNCH_FIRINGDURATION 		1000 ;934
#define	M_MORDOR_ATTACKTROLL_PUNCH_DAMAGE			200

#define M_MORDOR_ATTACKTROLL_SHOULDER_PREATTACKDELAY 		600
#define M_MORDOR_ATTACKTROLL_SHOULDER_DELAYBETWEENSHOTS 	1400
#define M_MORDOR_ATTACKTROLL_SHOULDER_FIRINGDURATION 		900
#define	M_MORDOR_ATTACKTROLL_SHOULDER_DAMAGE			200

#define M_MORDOR_ATTACKTROLL_TREE_PREATTACKDELAY 		600
#define M_MORDOR_ATTACKTROLL_TREE_DELAYBETWEENSHOTS 		1400 ;2000
#define M_MORDOR_ATTACKTROLL_TREE_FIRINGDURATION 		1400
#define	M_MORDOR_ATTACKTROLL_TREE_DAMAGE			400

#define M_MORDOR_ATTACKTROLL_ROCK_PREATTACKDELAY 		600 ;700
#define M_MORDOR_ATTACKTROLL_ROCK_DELAYBETWEENSHOTS 	2067 ; 	2167
#define M_MORDOR_ATTACKTROLL_ROCK_FIRINGDURATION 		1567 ; 2167
#define	M_MORDOR_ATTACKTROLL_ROCK_DAMAGE			300 ;500
#define	M_MORDOR_ATTACKTROLL_ROCK_RANGE				250


#define	M_MORDOR_ATTACKTROLL_BOUNTY_VALUE			250

;------------------------DRUMMERTROLL-------------
#define M_MORDOR_DRUMMERTROLL_BUILDCOST			400 ; ; 750
#define M_MORDOR_DRUMMERTROLL_BUILDTIME			45 ;30
#define M_MORDOR_DRUMMERTROLL_HEALTH			2000 ;2400
#define M_MORDOR_DRUMMERTROLL_HEALTH_DAMAGED		500
#define	M_MORDOR_DRUMMERTROLL_VISION_RANGE 		175

#define M_MORDOR_DRUMMERTROLL_PREATTACKDELAY 		800
#define M_MORDOR_DRUMMERTROLL_DELAYBETWEENSHOTS 		2200
#define M_MORDOR_DRUMMERTROLL_FIRINGDURATION 		1200
#define	M_MORDOR_DRUMMERTROLL_DAMAGE			120
#define	M_MORDOR_DRUMMERTROLL_BOUNTY_VALUE		185

;------------------------HARADRIM-------------
#define M_MORDOR_HARADRIM_BUILDCOST			500 ;250
#define M_MORDOR_HARADRIM_BUILDTIME			45 ;20
#define M_MORDOR_HARADRIM_HEALTH				250 ; ; 400
#define M_MORDOR_HARADRIM_HEALTH_DAMAGED			50
#define M_MORDOR_HARADRIM_HEALTH_RECOVERY_TIME 		10000

#define M_MORDOR_HARADRIM_LANCER_SWITCH_RANGE_HORDE	50
#define M_MORDOR_HARADRIM_LANCER_SWITCH_RANGE			25
#define	M_MORDOR_HARADRIM_LANCER_RANGE			320 ; ; 250
#define M_MORDOR_HARADRIM_LANCER_HORDE_RANGE		250

#define	M_MORDOR_HARADRIM_VISION_RANGE 			390
#define	M_MORDOR_HARADRIM_SHROUD_RANGE 			450
#define	M_MORDOR_HARADRIM_HORDE_VISION_RANGE 		400
#define M_HARADRIM_ARCHER_HORDE_RANGE				350
#define M_HARADRIM_ARCHER_HORDE_BOMBARD_MINRANGE	200
#define M_HARADRIM_ARCHER_HORDE_BOMBARD_MAXRANGE	350

#define M_MORDOR_HARADRIM_LANCER_PREATTACKDELAY 		1600
#define M_MORDOR_HARADRIM_LANCER_DELAYBETWEENSHOTS 	0;1000
#define M_MORDOR_HARADRIM_LANCER_FIRINGDURATION 		900
#define	M_MORDOR_HARADRIM_LANCER_DAMAGE			60
#define	M_MORDOR_HARADRIM_LANCER_MELEE_DAMAGE		60
#define M_MORDOR_HARADRIM_BOW_BARBEDARROWS_PREATTACKDELAY 		800
#define M_MORDOR_HARADRIM_BOW_PREATTACKDELAY 		800 ; ; 2100
#define M_MORDOR_HARADRIM_BOW_DELAYBETWEENSHOTS 		900
#define M_MORDOR_HARADRIM_BOW_FIRINGDURATION 		900 ; ; 700

#define	M_MORDOR_HARADRIM_BOW_RANGE						350
#define	M_MORDOR_HARADRIM_BOW_BOMBARD_MINRANGE			150
#define	M_MORDOR_HARADRIM_BOW_BOMBARD_MAXRANGE			400 ; ; 350

#define	M_MORDOR_HARADRIM_BOW_DAMAGE			64
#define M_MORDOR_HARADRIM_FIRE_UPGRADE_DAMAGE		64 
#define M_MORDOR_HARADRIM_FIRE_UPGRADE_FLAME		64
#define	M_MORDOR_HARADRIM_BOUNTY_VALUE			8
#define M_MORDOR_HARADRIM_BARBED_ARROW_DAMAGE		20

;------------------------SOLDIERRHUN-------------
#define M_MORDOR_SOLDIERRHUN_BUILDCOST			350 ; ; 300
#define M_MORDOR_SOLDIERRHUN_BUILDTIME			25 
#define M_MORDOR_SOLDIERRHUN_HEALTH			320
#define M_MORDOR_SOLDIERRHUN_HEALTH_DAMAGED		160
#define M_MORDOR_SOLDIERRHUN_HEALTH_RECOVERY_TIME		10000
#define	M_MORDOR_SOLDIERRHUN_VISION_RANGE 		175
#define	M_MORDOR_SOLDIERRHUN_HORDE_VISION_RANGE 		175
#define M_MORDOR_SOLDIERRHUN_SHROUD_RANGE			400

#define M_MORDOR_SOLDIERRHUN_PREATTACKDELAY 		600
#define M_MORDOR_SOLDIERRHUN_DELAYBETWEENSHOTS 		1000
#define M_MORDOR_SOLDIERRHUN_FIRINGDURATION 		1000
#define	M_MORDOR_SOLDIERRHUN_DAMAGE			50
#define	M_MORDOR_SOLDIERRHUN_DAMAGE_UPGRADED	80
#define	M_MORDOR_SOLDIERRHUN_BOUNTY_VALUE			7

;------------------------CATAPULT-------------
#define M_MORDOR_CATAPULT_BUILDCOST			400 ; ; 300
#define M_MORDOR_CATAPULT_BUILDTIME			30 
#define M_MORDOR_CATAPULT_HEALTH				2000 ;240
#define M_MORDOR_CATAPULT_HEALTH_DAMAGED			1000
#define	M_MORDOR_CATAPULT_VISION_RANGE 			550

#define	M_MORDOR_CATAPULT_LVL1_EXP_AWARD 			10

#define M_MORDOR_CATAPULT_ROCK_PREATTACKDELAY 		800
#define M_MORDOR_CATAPULT_ROCK_DELAYBETWEENSHOTS 		7500 ; ; 6000
#define M_MORDOR_CATAPULT_ROCK_FIRINGDURATION 		3000

#define	M_MORDOR_CATAPULT_ROCK_RANGE			500 ;400
#define M_MORDOR_CATAPULT_ROCK_MINRANGE		300
#define	M_MORDOR_CATAPULT_ROCK_DAMAGE			260 ; ; 400
#define	M_MORDOR_CATAPULT_FLAME_DAMAGE			65 ; ; 100
#define M_MORDOR_CATAPULT_HEADS_PREATTACKDELAY 		800
#define M_MORDOR_CATAPULT_HEADS_DELAYBETWEENSHOTS 	6000
#define M_MORDOR_CATAPULT_HEADS_FIRINGDURATION 		3000
#define	M_MORDOR_CATAPULT_HEADS_RANGE			420 ;400
#define	M_MORDOR_CATAPULT_HEADS_DAMAGE			60
#define	M_MORDOR_CATAPULT_BOUNTY_VALUE			125
#define M_MORDOR_CATAPULT_EXPANSION_AIM_DELTA		90


;------------------------SIEGETOWER-------------
#define M_MORDOR_SIEGETOWER_BUILDCOST			500
#define M_MORDOR_SIEGETOWER_BUILDTIME			60
#define M_MORDOR_SIEGETOWER_HEALTH			3000
#define M_MORDOR_SIEGETOWER_HEALTH_DAMAGED		2000
#define	M_MORDOR_SIEGETOWER_BOUNTY_VALUE			250

;------------------------MUMAKIL-------------
#define M_MORDOR_MUMAKIL_BUILDCOST			1800 ; ; 1600
#define M_MORDOR_MUMAKIL_BUILDTIME			60
#define M_MORDOR_MUMAKIL_HEALTH				8000
#define	M_MORDOR_MUMAKIL_VISION_RANGE 			400
#define	M_MORDOR_MUMAKIL_SHROUD_RANGE 			600

#define	M_MORDOR_MUMAKIL_CHARGE_DAMAGE			1000
#define	M_MUMAKIL_NORMAL_ATTACK				600
#define	M_MORDOR_MUMAKIL_BOUNTY_VALUE			400

;------------------------GROND-------------
#define M_MORDOR_GROND_BUILDCOST				5000
#define M_MORDOR_GROND_BUILDTIME				60
#define M_MORDOR_GROND_HEALTH				8000
#define M_MORDOR_GROND_HEALTH_DAMAGED			4000
#define	M_MORDOR_GROND_VISION_RANGE 			250

#define	M_MORDOR_GROND_DAMAGE				2000
#define	M_MORDOR_GROND_BOUNTY_VALUE			1250

;------------------------BANNER-------------
#define M_MORDOR_BANNER_BUILDCOST				1000
#define M_MORDOR_BANNER_BUILDTIME				30
#define M_MORDOR_BANNER_HEALTH				120
#define M_MORDOR_BANNER_HEALTH_DAMAGED			30
#define M_MORDOR_BANNER_HEALTH_RECOVERY_TIME		10000
#define	M_MORDOR_BANNER_VISION_RANGE 			175

#define	M_MORDOR_BANNER_LVL1_EXP_AWARD 			3
#define	M_MORDOR_BANNER_LVL2_EXP_AWARD 			4
#define	M_MORDOR_BANNER_LVL3_EXP_AWARD 			5
#define	M_MORDOR_BANNER_LVL4_EXP_AWARD 			6

#define	M_MORDOR_BANNER_LVL2_EXP_NEEDED 			10000
#define	M_MORDOR_BANNER_LVL3_EXP_NEEDED 			20000
#define	M_MORDOR_BANNER_LVL4_EXP_NEEDED 			30000

#define	M_MORDOR_BANNER_LVL2_HP_ADD	 		20
#define	M_MORDOR_BANNER_LVL3_HP_ADD	 		20
#define	M_MORDOR_BANNER_LVL4_HP_ADD	 		20

#define	M_MORDOR_BANNER_LVL2_DAM_ADD			10
#define	M_MORDOR_BANNER_LVL3_DAM_ADD			10
#define	M_MORDOR_BANNER_LVL4_DAM_ADD			10

#define	M_MORDOR_BANNER_BOUNTY_VALUE			3

;Uses same weapon as Mordor Orc Fighter

;---------------MORDOR TECHNOLOGY AND UPGRADES--
#define M_MORDOR_TECH_BASIC_TRAINING_BUILDCOST		600 ; ; 1000
#define M_MORDOR_TECH_BASIC_TRAINING_BUILDTIME		30

#define M_MORDOR_TECH_FIRE_ARROWS_BUILDCOST		650 ; ; 1000
#define M_MORDOR_TECH_FIRE_ARROWS_BUILDTIME		30

#define M_MORDOR_TECH_FORGED_BLADES_BUILDCOST		1000
#define M_MORDOR_TECH_FORGED_BLADES_BUILDTIME		30

#define M_MORDOR_TECH_HEAVY_ARMOR_BUILDCOST		1000
#define M_MORDOR_TECH_HEAVY_ARMOR_BUILDTIME		30

;-----
#define M_MORDOR_PERSONAL_BASIC_TRAINING_BUILDCOST	150 ; ; 250
#define M_MORDOR_PERSONAL_BASIC_TRAINING_BUILDTIME	10

#define M_MORDOR_PERSONAL_FIRE_ARROWS_BUILDCOST		250
#define M_MORDOR_PERSONAL_FIRE_ARROWS_BUILDTIME		10

#define M_MORDOR_PERSONAL_FORGED_BLADES_BUILDCOST		250
#define M_MORDOR_PERSONAL_FORGED_BLADES_BUILDTIME		10

#define M_MORDOR_PERSONAL_HEAVY_ARMOR_BUILDCOST		250
#define M_MORDOR_PERSONAL_HEAVY_ARMOR_BUILDTIME		10

;------------------------FLAGS------------------------
#define M_MORDOR_FLAG_ECONOMY_UNPACK_COST			200
#define M_MORDOR_FLAG_OUTPOST_UNPACK_COST			800 ;400
#define M_MORDOR_FLAG_CAMP_UNPACK_COST			2000 ;800
#define M_MORDOR_FLAG_CASTLE_UNPACK_COST			5000


;------------------------STRUCTURES-------------------
;------------------------FORTRESS---------------------
#define M_MORDOR_FORTRESS_BUILDCOST			5000
#define M_MORDOR_FORTRESS_BUILDTIME			120
#define M_MORDOR_FORTRESS_VISION_RANGE			400
#define	M_MORDOR_FORTRESS_SHROUD_CLEAR			800
#define M_MORDOR_FORTRESS_HEALTH					7500
#define M_MORDOR_FORTRESS_HEALTH_DAMAGED			5000
#define M_MORDOR_FORTRESS_HEALTH_REALLY_DAMAGED	2500
#define	M_MORDOR_FORTRESS_BOUNTY_VALUE			1250

#define M_MORDOR_FORTRESS_FIRE_FUEL			140
#define M_MORDOR_FORTRESS_FIRE_MAX_BURN_RATE		20
#define M_MORDOR_FORTRESS_FIRE_DECAY			5
#define M_MORDOR_FORTRESS_FIRE_RESISTANCE			10

//----Fortress improvements----
//Fire Arrows
#define M_MORDOR_FIREARROWS_BUILDCOST			1500
#define	M_MORDOR_FIREARROWS_BUILDTIME			30

//Morgul Sorcery
#define M_MORDOR_MORGULSORCERY_BUILDCOST			1600 ; ; 2000
#define M_MORDOR_MORGULSORCERY_BUILDTIME			30
#define M_MORDOR_MORGULSORCERY_KEEP_HEALTH_BONUS		0 ; Nerfing the Fortress Armor Upgrade -GB
#define M_MORDOR_MORGULSORCERY_KEEP_ARMOR_BONUS		0.35 ; ; .5
#define M_MORDOR_MORGULSORCERY_EXPANSION_HEALTH_BONUS 	0 ; Nerfing the Fortress Armor Upgrade -GB
#define M_MORDOR_MORGULSORCERY_EXPANSION_ARMOR_BONUS	0.35 ; ; .5

//Doom Pyres
#define M_MORDOR_DOOMPYRES_BUILDCOST			500
#define M_MORDOR_DOOMPYRES_BUILDTIME			30

//Doom Pyres
#define M_MORDOR_MAGMACAULDRONS_BUILDCOST			1500
#define M_MORDOR_MAGMACAULDRONS_BUILDTIME			30

//Lava Moat
#define M_MORDOR_LAVAMOAT_BUILDCOST			1000
#define M_MORDOR_LAVAMOAT_BUILDTIME			30

//----Fortress Monument----
//Gorgoroth Spire
#define M_MORDOR_GORGOROTHSPIRE_BUILDCOST			2500
#define M_MORDOR_GORGOROTHSPIRE_BUILDTIME			30
#define	M_MORDOR_GORGOROTHSPIRE_ROCK_RANGE		2000
#define	M_MORDOR_GORGOROTHSPIRE_ROCK_DAMAGE		1000
#define	M_MORDOR_GORGOROTHSPIRE_FLAME_DAMAGE		1000
#define M_MORDOR_GORGOROTHSPIRE_ROCK_PREATTACKDELAY 	800
#define M_MORDOR_GORGOROTHSPIRE_ROCK_DELAYBETWEENSHOTS 	6000
#define M_MORDOR_GORGOROTHSPIRE_ROCK_FIRINGDURATION 	3000

//--Mordor Fortress Expansions
//------------WALL CATAPULT-------------
#define M_MODOR_WALLCATAPULTEXPANSION_BUILDCOST				1200
#define M_MODOR_WALLCATAPULTEXPANSION_BUILDTIME				30

#define M_MORDOR_WALLCATAPULTEXPANSION_HEALTH				1000
#define M_MORDOR_WALLCATAPULTEXPANSION_HEALTH_DAMAGED			500
#define M_MORDOR_WALLCATAPULTEXPANSION_HEALTH_REALLY_DAMAGED		250
#define	M_MORDOR_WALLCATAPULTEXPANSION_BOUNTY_VALUE			200

#define M_MORDOR_WALLCATAPULTEXPANSION_FIRE_FUEL				100
#define M_MORDOR_WALLCATAPULTEXPANSION_FIRE_MAX_BURN_RATE			20
#define M_MORDOR_WALLCATAPULTEXPANSION_FIRE_DECAY				5
#define M_MORDOR_WALLCATAPULTEXPANSION_FIRE_RESISTANCE			10

;//------------BARRICADE-------------
#define M_MODOR_BARRICADEEXPANSION_BUILDCOST				400 ; ; 600
#define M_MODOR_BARRICADEEXPANSION_BUILDTIME				20 ; ; 30

#define M_MORDOR_BARRICADEEXPANSION_HEALTH				2000
#define M_MORDOR_BARRICADEEXPANSION_HEALTH_DAMAGED			1000
#define M_MORDOR_BARRICADEEXPANSION_HEALTH_REALLY_DAMAGED			500
#define	M_MORDOR_BARRICADEEXPANSION_BOUNTY_VALUE				150

#define M_MORDOR_BARRICADEEXPANSION_FIRE_FUEL				100
#define M_MORDOR_BARRICADEEXPANSION_FIRE_MAX_BURN_RATE			20
#define M_MORDOR_BARRICADEEXPANSION_FIRE_DECAY				5
#define M_MORDOR_BARRICADEEXPANSION_FIRE_RESISTANCE			10

;//------------GATE WATCHERS-------------
#define M_MODOR_GATEWATCHEREXPANSION_BUILDCOST				600
#define M_MODOR_GATEWATCHEREXPANSION_BUILDTIME				30

#define M_MORDOR_GATEWATCHEREXPANSION_HEALTH				1500
#define M_MORDOR_GATEWATCHEREXPANSION_HEALTH_DAMAGED			750
#define M_MORDOR_GATEWATCHEREXPANSION_HEALTH_REALLY_DAMAGED		250
#define	M_MORDOR_GATEWATCHEREXPANSION_BOUNTY_VALUE			150

#define M_MORDOR_GATEWATCHEREXPANSION_FIRE_FUEL				100
#define M_MORDOR_GATEWATCHEREXPANSION_FIRE_MAX_BURN_RATE			20
#define M_MORDOR_GATEWATCHEREXPANSION_FIRE_DECAY				5
#define M_MORDOR_GATEWATCHEREXPANSION_FIRE_RESISTANCE			10

#define M_MORDOR_GATEWATCHEREXPANSION_DELAYBETWEENSHOTS		30000
#define M_MORDOR_GATEWATCHEREXPANSION_PREATTACKDELAY			5
#define M_MORDOR_GATEWATCHEREXPANSION_FIRINGDURATION			5
#define M_MORDOR_GATEWATCHEREXPANSION_RANGE					100 ; ; 150
#define M_MORDOR_GATEWATCHEREXPANSION_FEAR_RADIUS				150 ; ; 200
#define M_MORDOR_GATEWATCHEREXPANSION_FEAR_DURATION			5		//In seconds

;------------------------TAVERN-----------------------
#define M_MORDOR_TAVERN_LVL2_UPGRADE_COST				700 ; ; 500
#define M_MORDOR_TAVERN_LVL2_UPGRADE_TIME				30
#define M_MORDOR_TAVERN_LVL2_UNIT_PRODUCTION_SPEED		1.10
#define M_MORDOR_TAVERN_LVL3_UPGRADE_COST				500 ; ; 1000
#define M_MORDOR_TAVERN_LVL3_UPGRADE_TIME				60
#define M_MORDOR_TAVERN_LVL3_UNIT_PRODUCTION_SPEED		1.25
#define M_MORDOR_TAVERN_HEALTH						3000
#define M_MORDOR_TAVERN_HEALTH_DAMAGED				2000
#define M_MORDOR_TAVERN_HEALTH_REALLYDAMAGED			1000
#define M_MORDOR_TAVERN_BUILDCOST						300 ; ; 500
#define M_MORDOR_TAVERN_BUILDTIME						45
#define M_MORDOR_TAVERN_BOUNTY_VALUE					125
#define M_MORDOR_TAVERN_LVL1_EXP_AWARD				50
#define M_MORDOR_TAVERN_LVL2_EXP_AWARD				60
#define M_MORDOR_TAVERN_LVL3_EXP_AWARD				70

#define M_MORDOR_TAVERN_LVL2_HP_ADD					1500
#define M_MORDOR_TAVERN_LVL3_HP_ADD					1500

;------------------------LUMBERMILL-------------
#define M_MORDOR_LUMBERMILL_BUILDCOST				370 ; ; 450
#define M_MORDOR_LUMBERMILL_BUILDTIME				30
#define M_MORDOR_LUMBERMILL_HEALTH				1500
#define M_MORDOR_LUMBERMILL_HEALTH_DAMAGED			1000
#define M_MORDOR_LUMBERMILL_HEALTH_REALLY_DAMAGED			500
#define	M_MORDOR_LUMBERMILL_SHROUD_CLEAR				160
#define M_MORDOR_LUMBERMILL_MONEY_TIME 				6000
#define M_MORDOR_LUMBERMILL_MONEY_AMOUNT				10

#define M_MORDOR_LUMBERMILL_LVL2_HP_ADD           		500
#define M_MORDOR_LUMBERMILL_LVL3_HP_ADD           		1000

#define	M_MORDOR_LUMBERMILL_LVL1_EXP_AWARD 			50
#define	M_MORDOR_LUMBERMILL_LVL2_EXP_AWARD 			60
#define	M_MORDOR_LUMBERMILL_LVL3_EXP_AWARD 			70
  
#define M_MORDOR_LUMBERMILL_LVL2_EXP_NEEDED			1000 ; ; 2000
#define M_MORDOR_LUMBERMILL_LVL3_EXP_NEEDED 			3000 ; ; 5000

#define M_MORDOR_LUMBERMILL_LVL2_PRODUCTION 			1.25
#define M_MORDOR_LUMBERMILL_LVL3_PRODUCTION 			1.25
#define	M_MORDOR_LUMBERMILL_BOUNTY_VALUE				50

;------------------------SLAUGHTERHOUSE-------------
#define M_MORDOR_SLAUGHTERHOUSE_BUILDCOST			300
#define M_MORDOR_SLAUGHTERHOUSE_BUILDTIME			15
#define M_MORDOR_SLAUGHTERHOUSE_HEALTH			1600 ; ; 2000
#define M_MORDOR_SLAUGHTERHOUSE_HEALTH_DAMAGED		866 ; ; 1333
#define M_MORDOR_SLAUGHTERHOUSE_HEALTH_REALLY_DAMAGED	500 ; ; 667
#define	M_MORDOR_SLAUGHTERHOUSE_SHROUD_CLEAR		300
#define	M_MORDOR_SLAUGHTERHOUSE_VISION_RANGE		160
#define M_MORDOR_SLAUGHTERHOUSE_MONEY_TIME 		6000 
#define M_MORDOR_SLAUGHTERHOUSE_MONEY_AMOUNT		25
#define M_MORDOR_SLAUGHTERHOUSE_MONEY_RANGE		300

#define	M_MORDOR_SLAUGHTERHOUSE_LVL1_EXP_AWARD 		40
#define	M_MORDOR_SLAUGHTERHOUSE_LVL2_EXP_AWARD 		50
#define	M_MORDOR_SLAUGHTERHOUSE_LVL3_EXP_AWARD 		60

#define M_MORDOR_SLAUGHTERHOUSE_LVL2_EXP_NEEDED		1500 ;750
#define M_MORDOR_SLAUGHTERHOUSE_LVL3_EXP_NEEDED 		3000 ;3000

#define M_MORDOR_SLAUGHTERHOUSE_LVL2_HP_ADD           	500
#define M_MORDOR_SLAUGHTERHOUSE_LVL3_HP_ADD           	1000

#define M_MORDOR_SLAUGHTERHOUSE_LVL2_PRODUCTION 		1.25 ;1.34
#define M_MORDOR_SLAUGHTERHOUSE_LVL3_PRODUCTION 		1.5 ;1.25
#define	M_MORDOR_SLAUGHTERHOUSE_BOUNTY_VALUE		75

;------------------------ORCPIT-------------
#define M_MORDOR_ORCPIT_BUILDCOST				300
#define M_MORDOR_ORCPIT_BUILDTIME				35
#define	M_MORDOR_ORCPIT_SHROUD_CLEAR			160
#define	M_MORDOR_ORCPIT_VISION_RANGE			160
#define M_MORDOR_ORCPIT_HEALTH				1500
#define M_MORDOR_ORCPIT_HEALTH_DAMAGED			750
#define M_MORDOR_ORCPIT_HEALTH_REALLY_DAMAGED		500

#define	M_MORDOR_ORCPIT_LVL1_EXP_AWARD 			50
#define	M_MORDOR_ORCPIT_LVL2_EXP_AWARD 			60
#define	M_MORDOR_ORCPIT_LVL3_EXP_AWARD 			70

#define M_MORDOR_ORCPIT_LVL2_HP_ADD          		1500
#define M_MORDOR_ORCPIT_LVL3_HP_ADD          		1500

#define M_MORDOR_ORCPIT_LVL2_BUILD_SPEED 			1.10   
#define M_MORDOR_ORCPIT_LVL3_BUILD_SPEED 			1.25    

#define M_MORDOR_ORCPIT_LVL2_UPGRADE_COST				500
#define M_MORDOR_ORCPIT_LVL2_UPGRADE_TIME				30
#define M_MORDOR_ORCPIT_LVL3_UPGRADE_COST				350 ; ; 1000
#define M_MORDOR_ORCPIT_LVL3_UPGRADE_TIME				30 ; ; 60

#define	M_MORDOR_ORCPIT_BOUNTY_VALUE			100

;------------------------HARADRIMPALACE-------------
#define M_MORDOR_HARADRIMPALACE_BUILDCOST			300
#define M_MORDOR_HARADRIMPALACE_BUILDTIME			30
#define	M_MORDOR_HARADRIMPALACE_SHROUD_CLEAR		160
#define	M_MORDOR_HARADRIMPALACE_VISION_RANGE		160
#define M_MORDOR_HARADRIMPALACE_HEALTH			1500
#define M_MORDOR_HARADRIMPALACE_HEALTH_DAMAGED		750
#define M_MORDOR_HARADRIMPALACE_HEALTH_REALLY_DAMAGED	500

#define	M_MORDOR_HARADRIMPALACE_LVL1_EXP_AWARD 		50
#define	M_MORDOR_HARADRIMPALACE_LVL2_EXP_AWARD 		60
#define	M_MORDOR_HARADRIMPALACE_LVL3_EXP_AWARD 		70

#define M_MORDOR_HARADRIMPALACE_LVL2_UPGRADE_COST		500
#define M_MORDOR_HARADRIMPALACE_LVL2_UPGRADE_TIME		30
#define M_MORDOR_HARADRIMPALACE_LVL3_UPGRADE_COST		350 ; ; 1000
#define M_MORDOR_HARADRIMPALACE_LVL3_UPGRADE_TIME		30 ; ; 60

#define M_MORDOR_HARADRIMPALACE_LVL2_HP_ADD          	1500
#define M_MORDOR_HARADRIMPALACE_LVL3_HP_ADD          	1500

#define M_MORDOR_HARADRIMPALACE_LVL2_BUILD_SPEED 		1.10   
#define M_MORDOR_HARADRIMPALACE_LVL3_BUILD_SPEED 		1.25    

#define	M_MORDOR_HARADRIMPALACE_BOUNTY_VALUE		125


;------------------------TROLLCAGE-------------
#define M_MORDOR_TROLLCAGE_BUILDCOST			750
#define M_MORDOR_TROLLCAGE_BUILDTIME			45
#define	M_MORDOR_TROLLCAGE_SHROUD_CLEAR			160
#define	M_MORDOR_TROLLCAGE_VISION_RANGE			160
#define M_MORDOR_TROLLCAGE_HEALTH				1500
#define M_MORDOR_TROLLCAGE_HEALTH_DAMAGED			750
#define M_MORDOR_TROLLCAGE_HEALTH_REALLY_DAMAGED		500

#define	M_MORDOR_TROLLCAGE_LVL1_EXP_AWARD 		50
#define	M_MORDOR_TROLLCAGE_LVL2_EXP_AWARD 		60
#define	M_MORDOR_TROLLCAGE_LVL3_EXP_AWARD 		70

#define M_MORDOR_TROLLCAGE_LVL2_HP_ADD          		1500
#define M_MORDOR_TROLLCAGE_LVL3_HP_ADD          		1500

#define M_MORDOR_TROLLCAGE_LVL2_BUILD_SPEED 		1.10   
#define M_MORDOR_TROLLCAGE_LVL3_BUILD_SPEED 		1.25    

#define M_MORDOR_TROLLCAGE_LVL2_UPGRADE_COST			500
#define M_MORDOR_TROLLCAGE_LVL2_UPGRADE_TIME			30
#define M_MORDOR_TROLLCAGE_LVL3_UPGRADE_COST			1000
#define M_MORDOR_TROLLCAGE_LVL3_UPGRADE_TIME			60

#define	M_MORDOR_TROLLCAGE_BOUNTY_VALUE			185

;------------------------MUMAKILPEN-------------
#define M_MORDOR_MUMAKILPEN_BUILDCOST			1000 ;1200
#define M_MORDOR_MUMAKILPEN_BUILDTIME			45
#define	M_MORDOR_MUMAKILPEN_SHROUD_CLEAR			160
#define	M_MORDOR_MUMAKILPEN_VISION_RANGE			160
#define M_MORDOR_MUMAKILPEN_HEALTH			1500
#define M_MORDOR_MUMAKILPEN_HEALTH_DAMAGED		750
#define M_MORDOR_MUMAKILPEN_HEALTH_REALLY_DAMAGED		500

#define	M_MORDOR_MUMAKILPEN_LVL1_EXP_AWARD 		50
#define	M_MORDOR_MUMAKILPEN_LVL2_EXP_AWARD 		60
#define	M_MORDOR_MUMAKILPEN_LVL3_EXP_AWARD 		70

#define M_MORDOR_MUMAKILPEN_LVL2_HP_ADD          		1000
#define M_MORDOR_MUMAKILPEN_LVL3_HP_ADD          		1000

#define M_MORDOR_MUMAKILPEN_LVL2_BUILD_SPEED 			1.10   
#define M_MORDOR_MUMAKILPEN_LVL3_BUILD_SPEED 			1.25    

#define M_MORDOR_MUMAKILPEN_LVL2_UPGRADE_COST		150 ; ; 250
#define M_MORDOR_MUMAKILPEN_LVL2_UPGRADE_TIME		30
#define	M_MORDOR_MUMAKILPEN_LVL3_UPGRADE_COST		500
#define M_MORDOR_MUMAKILPEN_LVL3_UPGRADE_TIME		30 ; ; 60

#define	M_MORDOR_MUMAKILPEN_BOUNTY_VALUE			250


;------------------------SIEGEWORKS-------------
#define M_MORDOR_SIEGEWORKS_BUILDCOST			500 ;1200 ; ; 800
#define M_MORDOR_SIEGEWORKS_BUILDTIME			30
#define	M_MORDOR_SIEGEWORKS_SHROUD_CLEAR			160
#define	M_MORDOR_SIEGEWORKS_VISION_RANGE			160
#define M_MORDOR_SIEGEWORKS_HEALTH			1500
#define M_MORDOR_SIEGEWORKS_HEALTH_DAMAGED		750
#define M_MORDOR_SIEGEWORKS_HEALTH_REALLY_DAMAGED		500

#define	M_MORDOR_SIEGEWORKS_LVL1_EXP_AWARD 		50
#define	M_MORDOR_SIEGEWORKS_LVL2_EXP_AWARD 		60
#define	M_MORDOR_SIEGEWORKS_LVL3_EXP_AWARD 		70

#define M_MORDOR_SIEGEWORKS_LVL2_HP_ADD          		1500
#define M_MORDOR_SIEGEWORKS_LVL3_HP_ADD          		1500

#define M_MORDOR_SIEGEWORKS_LVL2_BUILD_SPEED 			1.10   
#define M_MORDOR_SIEGEWORKS_LVL3_BUILD_SPEED 			1.25    

#define M_MORDOR_SIEGEWORKS_LVL2_UPGRADE_COST		800 ; ; 500
#define M_MORDOR_SIEGEWORKS_LVL2_UPGRADE_TIME		30
#define M_MORDOR_SIEGEWORKS_LVL3_UPGRADE_COST		350 ; ; 1000
#define M_MORDOR_SIEGEWORKS_LVL3_UPGRADE_TIME		30 ; ; 60

#define	M_MORDOR_SIEGEWORKS_BOUNTY_VALUE			200

;------------------------ISENGARD---------------------
;------------------------UNITS------------------------

;------------------------PORTER-------------
#define M_ISENGARD_PORTER_BUILDCOST			500
#define M_ISENGARD_PORTER_BUILDTIME			30
#define M_ISENGARD_PORTER_HEALTH				500
#define M_ISENGARD_PORTER_HEALTH_DAMAGED			250
#define M_ISENGARD_PORTER_HEALTH_RECOVERY_TIME		10000
#define	M_ISENGARD_PORTER_VISION_RANGE 			50
#define	M_ISENGARD_PORTER_SHROUD_RANGE 			100

#define	M_ISENGARD_PORTER_BOUNTY_VALUE       		125

;------------------------URUKFIGHTER-------------
#define M_ISENGARD_URUKFIGHTER_BUILDCOST			300
#define M_ISENGARD_URUKFIGHTER_BUILDTIME			33 ;20 ; ; 30
#define	M_ISENGARD_URUKFIGHTER_VISION_RANGE 		175
#define	M_ISENGARD_URUKFIGHTER_HORDE_VISION_RANGE 	175
#define	M_ISENGARD_URUKFIGHTER_SHROUD_RANGE 		400
#define M_ISENGARD_URUKFIGHTER_HEALTH			300
#define M_ISENGARD_URUKFIGHTER_HEALTH_DAMAGED		150
#define M_ISENGARD_URUKFIGHTER_HEALTH_RECOVERY_TIME	10000

#define M_ISENGARD_URUKFIGHTER_PREATTACKDELAY 		1300
#define M_ISENGARD_URUKFIGHTER_DELAYBETWEENSHOTS 		933 ; ; 633
#define M_ISENGARD_URUKFIGHTER_FIRINGDURATION 		1300
#define M_ISENGARD_URUKFIGHTER_DAMAGE			80
#define M_ISENGARD_URUKFIGHTER_DAMAGE_UPGRADE		120 
#define	M_ISENGARD_URUKFIGHTER_BOUNTY_VALUE		5

;------------------------URUKPIKEMAN-------------
#define M_ISENGARD_URUKPIKEMAN_BUILDCOST			450 ; ; 400
#define M_ISENGARD_URUKPIKEMAN_BUILDTIME			30 ;20
#define	M_ISENGARD_URUKPIKEMAN_VISION_RANGE 		175
#define	M_ISENGARD_URUKPIKEMAN_SHROUD_RANGE 		400
#define	M_ISENGARD_URUKPIKEMAN_HORDE_VISION_RANGE 	175
#define M_ISENGARD_URUKPIKEMAN_HEALTH			400
#define M_ISENGARD_URUKPIKEMAN_HEALTH_DAMAGED		80
#define M_ISENGARD_URUKPIKEMAN_HEALTH_RECOVERY_TIME	10000

#define M_ISENGARD_URUKPIKEMAN_STAB_PREATTACKDELAY 	600
#define M_ISENGARD_URUKPIKEMAN_STAB_DELAYBETWEENSHOTS 	900
#define M_ISENGARD_URUKPIKEMAN_STAB_FIRINGDURATION 	900
#define M_ISENGARD_URUKPIKEMAN_STAB_DAMAGE		40 ; ; 45
#define M_ISENGARD_URUKPIKEMAN_DAMAGE_UPGRADE		80 ; ; 90
#define M_URUK_PIKE_PORCUPINE_DAMAGE			100
#define	M_ISENGARD_URUKPIKEMAN_BOUNTY_VALUE		7

;------------------------URUKCROSSBOW-------------
#define M_ISENGARD_URUKCROSSBOW_BUILDCOST			350 ;300 ; ; 300
#define M_ISENGARD_URUKCROSSBOW_BUILDTIME			37 ;20 ; ; 30
#define	M_ISENGARD_URUKCROSSBOW_VISION_RANGE 		320
#define	M_ISENGARD_URUKCROSSBOW_HORDE_VISION_RANGE 	340
#define	M_ISENGARD_URUKCROSSBOW_SHROUD_RANGE 		500
#define M_ISENGARD_URUKCROSSBOW_HEALTH			110 ; ; 160
#define M_ISENGARD_URUKCROSSBOW_HEALTH_DAMAGED		80
#define M_ISENGARD_URUKCROSSBOW_HEALTH_RECOVERY_TIME	10000

#define M_ISENGARD_URUKCROSSBOW_PREATTACKDELAY 		820 ; ; 500
#define M_ISENGARD_URUKCROSSBOW_DELAYBETWEENSHOTS 	2500 ;3500 ; ; 1000
#define M_ISENGARD_URUKCROSSBOW_FIRINGDURATION 		1000 ;3500

#define M_ISENGARD_URUKCROSSBOW_RANGE					300
#define M_ISENGARD_URUKCROSSBOW_BOMBARD_MINRANGE		150
#define M_ISENGARD_URUKCROSSBOW_BOMBARD_MAXRANGE		345 ; ; 300

;double damage because he misses 50% of the time
#define M_ISENGARD_URUKCROSSBOW_DAMAGE			65  ; ; 25
#define M_ISENGARD_URUKCROSSBOW_DAMAGE_UPGRADE		75  ; ; 30
#define M_ISENGARD_URUKCROSSBOW_DAMAGE_UPGRADE_FLAME	35 ;20  ; ; 25

#define	M_ISENGARD_URUKCROSSBOW_BOUNTY_VALUE		5

;------------------------WARGRIDER-------------
#define M_ISENGARD_WARGRIDER_BUILDCOST			500
#define M_ISENGARD_WARGRIDER_BUILDTIME			30 
#define	M_ISENGARD_WARGRIDER_VISION_RANGE 		275 ; ; 175
#define	M_ISENGARD_WARGRIDER_SHROUD_RANGE 		400
#define	M_ISENGARD_WARGRIDER_HORDE_VISION_RANGE 		275 ; ; 175
#define M_ISENGARD_WARGRIDER_HEALTH			400
#define M_ISENGARD_WARGRIDER_HEALTH_DAMAGED		200
#define M_ISENGARD_WARGRIDER_HEALTH_RECOVERY_TIME		10000

#define M_ISENGARD_WARGRIDER_PREATTACKDELAY 		666 
#define M_ISENGARD_WARGRIDER_DELAYBETWEENSHOTS 		2000
#define M_ISENGARD_WARGRIDER_FIRINGDURATION 		1333 

#define M_ISENGARD_WARGRIDER_DAMAGE			63 ; ; 100
#define M_ISENGARD_WARGRIDER_DAMAGE_UPGRADE		125 ; ; 200

#define M_ISENGARD_WARGRIDER_WARG_PREATTACKDELAY 		800 
#define M_ISENGARD_WARGRIDER_WARG_DELAYBETWEENSHOTS 	1000
#define M_ISENGARD_WARGRIDER_WARG_FIRINGDURATION 		400 
 
#define M_ISENGARD_WARGRIDER_WARG_DAMAGE			60
#define	M_ISENGARD_WARGRIDER_BOUNTY_VALUE			12

;------------------------BERSERKER-------------
#define M_ISENGARD_BERSERKER_BUILDCOST			300
#define M_ISENGARD_BERSERKER_BUILDTIME			25
#define	M_ISENGARD_BERSERKER_VISION_RANGE 		175
#define	M_ISENGARD_BERSERKER_SHROUD_RANGE 		200
#define M_ISENGARD_BERSERKER_HEALTH			800
#define M_ISENGARD_BERSERKER_HEALTH_DAMAGED		400
#define M_ISENGARD_BERSERKER_HEALTH_RECOVERY_TIME		10000

#define	M_ISENGARD_BERSERKER_LVL1_EXP_AWARD 		10

#define M_ISENGARD_BERSERKER_PREATTACKDELAY 		567
#define M_ISENGARD_BERSERKER_DELAYBETWEENSHOTS 		633
#define M_ISENGARD_BERSERKER_FIRINGDURATION 		633
#define M_ISENGARD_BERSERKER_DAMAGE			300
#define M_ISENGARD_BERSERKER_RADIUS			15
#define M_ISENGARD_BERSERKER_ARC				90
#define	M_ISENGARD_BERSERKER_BOUNTY_VALUE			150 ; ; 75
;has an 80% dodge chance

#define M_BERSERKER_DAMAGED_SPEED_MULT 1.1
#define M_BERSERKER_DAMAGED_DAMAGE_MULT 1.1
#define M_BERSERKER_REALLY_DAMAGED_SPEED_MULT 1.5
#define M_BERSERKER_REALLY_DAMAGED_DAMAGE_MULT 1.5

;------------------------WILDMAN-------------
#define M_ISENGARD_WILDMAN_BUILDCOST			400
#define M_ISENGARD_WILDMAN_BUILDTIME			35 ; ; 20
#define	M_ISENGARD_WILDMAN_VISION_RANGE 		175
#define	M_ISENGARD_WILDMAN_HORDE_VISION_RANGE 	175
#define	M_ISENGARD_WILDMAN_SHROUD_RANGE 		400
#define M_ISENGARD_WILDMAN_HEALTH			370 ; ; 150
#define M_ISENGARD_WILDMAN_HEALTH_DAMAGED		160 ; ; 75
#define M_ISENGARD_WILDMAN_HEALTH_RECOVERY_TIME		10000

#define M_ISENGARD_WILDMAN_PREATTACKDELAY 		567
#define M_ISENGARD_WILDMAN_DELAYBETWEENSHOTS 		633
#define M_ISENGARD_WILDMAN_FIRINGDURATION 		633

#define	M_ISENGARD_WILDMAN_BOUNTY_VALUE			8

#define M_ISENGARD_WILDMAN_DAMAGE			40
#define M_ISENGARD_WILDMAN_RADIUS			0

#define M_ISENGARD_WILDMAN_TORCH_DAMAGE		60 ; ; 30
#define M_ISENGARD_WILDMAN_TORCH_RADIUS		15 ; ; 0

#define M_ISENGARD_WILDMAN_ROCK_DAMAGE		40

#define M_ISENGARD_WILDMAN_THROWN_TORCH_DAMAGE	40
#define M_ISENGARD_WILDMAN_THROWN_TORCH_RADIUS	20

#define M_WILDMAN_PILLAGE_AMOUNT					2
#define M_WILDMAN_PILLAGE_NUM_DAMAGES				1
#define M_WILDMAN_PILLAGE_FILTER					NONE +STRUCTURE

#define M_ISENGARD_WILDMAN_SUMMON_DURATION		120000

;------------------------BATTERINGRAM-------------
#define M_ISENGARD_BATTERINGRAM_BUILDCOST			450 ; ; 400
#define M_ISENGARD_BATTERINGRAM_BUILDTIME			30
#define	M_ISENGARD_BATTERINGRAM_VISION_RANGE 		175
#define M_ISENGARD_BATTERINGRAM_HEALTH			2000
#define M_ISENGARD_BATTERINGRAM_HEALTH_DAMAGED		1000
#define M_ISENGARD_BATTERINGRAM_HEALTH_RECOVERY_TIME	10000
#define M_ISENGARD_BATTERINGRAM_PREATTACKDELAY 		1300
#define M_ISENGARD_BATTERINGRAM_DELAYBETWEENSHOTS 	3000
#define M_ISENGARD_BATTERINGRAM_FIRINGDURATION 		1100
#define M_ISENGARD_BATTERINGRAM_DAMAGE			1000
#define	M_ISENGARD_BATTERINGRAM_BOUNTY_VALUE		100

;------------------------BALLISTA-------------
#define M_ISENGARD_BALLISTA_BUILDCOST			500 ; ; 300
#define M_ISENGARD_BALLISTA_BUILDTIME			40 ;30
#define	M_ISENGARD_BALLISTA_VISION_RANGE 			520
#define M_ISENGARD_BALLISTA_HEALTH			2000
#define M_ISENGARD_BALLISTA_HEALTH_DAMAGED		1000
#define M_ISENGARD_BALLISTA_HEALTH_RECOVERY_TIME		10000

#define	M_ISENGARD_BALLISTA_LVL1_EXP_AWARD 		10

#define M_ISENGARD_BALLISTA_PREATTACKDELAY 		1000
#define M_ISENGARD_BALLISTA_DELAYBETWEENSHOTS 	7000 ; ; 8000
#define M_ISENGARD_BALLISTA_FIRINGDURATION 		6000 ; ; 7000
#define M_ISENGARD_BALLISTA_DAMAGE				400
#define M_ISENGARD_BALLISTA_UPGRADED_DAMAGE		500
#define M_ISENGARD_BALLISTA_RANGE					500
#define M_ISENGARD_BALLISTA_MINRANGE				300
#define	M_ISENGARD_BALLISTA_BOUNTY_VALUE			125
#define M_ISENGARD_BALLISTA_EXPANSION_AIM_DELTA	90

;------------------------EXPLOSIVEMINE-------------
;Has an 80% dodge chance.  
#define M_ISENGARD_EXPLOSIVEMINE_BUILDCOST		500
#define M_ISENGARD_EXPLOSIVEMINE_BUILDTIME		45
#define	M_ISENGARD_EXPLOSIVEMINE_VISION_RANGE 		175
#define M_ISENGARD_EXPLOSIVEMINE_HEALTH			1500
#define M_ISENGARD_EXPLOSIVEMINE_HEALTH_DAMAGED		750
#define M_ISENGARD_EXPLOSIVEMINE_HEALTH_RECOVERY_TIME	10000
#define M_ISENGARD_EXPLOSIVEMINE_MAIN_DAMAGE		7000
#define	M_ISENGARD_EXPLOSIVEMINE_BOUNTY_VALUE		125

;------------------------SIEGELADDER-------------
;Has a 50% dodge chance. 
#define M_ISENGARD_SIEGELADDER_BUILDCOST			150
#define M_ISENGARD_SIEGELADDER_BUILDTIME			30 
#define	M_ISENGARD_SIEGELADDER_VISION_RANGE 		175
#define M_ISENGARD_SIEGELADDER_HEALTH			600
#define M_ISENGARD_SIEGELADDER_HEALTH_DAMAGED		300
#define M_ISENGARD_SIEGELADDER_HEALTH_RECOVERY_TIME	10000
#define	M_ISENGARD_SIEGELADDER_BOUNTY_VALUE		38

;------------------------BANNER-------------
#define M_ISENGARD_BANNER_BUILDCOST			1200 
#define M_ISENGARD_BANNER_BUILDTIME			30
#define M_ISENGARD_BANNER_HEALTH				200
#define M_ISENGARD_BANNER_HEALTH_DAMAGED			100
#define M_ISENGARD_BANNER_HEALTH_RECOVERY_TIME		10000
#define	M_ISENGARD_BANNER_VISION_RANGE 			175

#define	M_ISENGARD_BANNER_LVL1_EXP_AWARD 			3
#define	M_ISENGARD_BANNER_LVL2_EXP_AWARD 			4
#define	M_ISENGARD_BANNER_LVL3_EXP_AWARD 			5
#define	M_ISENGARD_BANNER_LVL4_EXP_AWARD 			6

#define	M_ISENGARD_BANNER_LVL2_EXP_NEEDED 		10000
#define	M_ISENGARD_BANNER_LVL3_EXP_NEEDED 		20000
#define	M_ISENGARD_BANNER_LVL4_EXP_NEEDED 		30000

#define	M_ISENGARD_BANNER_LVL2_HP_ADD	 		40 ;100
#define	M_ISENGARD_BANNER_LVL3_HP_ADD	 		40 ;100
#define	M_ISENGARD_BANNER_LVL4_HP_ADD	 		40 ;100

#define	M_ISENGARD_BANNER_LVL2_DAM_ADD			20
#define	M_ISENGARD_BANNER_LVL3_DAM_ADD			20
#define	M_ISENGARD_BANNER_LVL4_DAM_ADD			20

#define	M_ISENGARD_BANNER_BOUNTY_VALUE			5

;used same weapon as Uruk Warrior.  

;------------------------UPGRADES-------------------

;---------------ISENGARD TECHNOLOGY AND UPGRADES--
#define M_ISENGARD_TECH_BASIC_TRAINING_BUILDCOST					600 ; ; 1000
#define M_ISENGARD_TECH_BASIC_TRAINING_BUILDTIME					30

#define M_ISENGARD_TECH_FIRE_ARROWS_BUILDCOST					1000
#define M_ISENGARD_TECH_FIRE_ARROWS_BUILDTIME					30

#define M_ISENGARD_TECH_FORGED_BLADES_BUILDCOST					1000
#define M_ISENGARD_TECH_FORGED_BLADES_BUILDTIME					30

#define M_ISENGARD_TECH_HEAVY_ARMOR_BUILDCOST					1000
#define M_ISENGARD_TECH_HEAVY_ARMOR_BUILDTIME					15

#define M_ISENGARD_TECH_TORCHES_BUILDCOST						1000
#define M_ISENGARD_TECH_TORCHES_BUILDTIME						15

;-----
#define M_ISENGARD_PERSONAL_BASIC_TRAINING_BUILDCOST				300
#define M_ISENGARD_PERSONAL_BASIC_TRAINING_BUILDTIME				10

#define M_ISENGARD_PERSONAL_FIRE_ARROWS_BUILDCOST					300
#define M_ISENGARD_PERSONAL_FIRE_ARROWS_BUILDTIME					10

#define M_ISENGARD_PERSONAL_FORGED_BLADES_BUILDCOST				400 ; ; 300
#define M_ISENGARD_PERSONAL_FORGED_BLADES_BUILDTIME				10

#define M_ISENGARD_PERSONAL_HEAVY_ARMOR_BUILDCOST					300
#define M_ISENGARD_PERSONAL_HEAVY_ARMOR_BUILDTIME					10

#define M_ISENGARD_PERSONAL_TORCHES_BUILDCOST					150 ; ; 300
#define M_ISENGARD_PERSONAL_TORCHES_BUILDTIME					10

;//------------------------STRUCTURES-------------------
;//------------------------FORTRESS-------------
#define M_ISENGARD_FORTRESS_BUILDCOST						5000
#define M_ISENGARD_FORTRESS_BUILDTIME						120
#define M_ISENGARD_FORTRESS_VISION_RANGE					400
#define	M_ISENGARD_FORTRESS_SHROUD_CLEAR					800
#define M_ISENGARD_FORTRESS_HEALTH						7500
#define M_ISENGARD_FORTRESS_HEALTH_DAMAGED				3750
#define M_ISENGARD_FORTRESS_HEALTH_REALLY_DAMAGED			1875
#define	M_ISENGARD_FORTRESS_BOUNTY_VALUE					1250

#define M_ISENGARD_FORTRESS_WALL_EFFECTIVE_RADIUS			1500

#define M_ISENGARD_FORTRESS_FIRE_FUEL						140
#define M_ISENGARD_FORTRESS_FIRE_MAX_BURN_RATE			20
#define M_ISENGARD_FORTRESS_FIRE_DECAY					5
#define M_ISENGARD_FORTRESS_FIRE_RESISTANCE				10

;//----Fortress improvements----
;//Orcfire Munitions
#define M_ISENGARD_ORCFIREMUNITIONS_BUILDCOST				1500
#define	M_ISENGARD_ORCFIREMUNITIONS_BUILDTIME				30

;//Iron Plating
#define M_ISENGARD_IRONPLATING_BUILDCOST					1600 ; ; 2000
#define	M_ISENGARD_IRONPLATING_BUILDTIME					30
#define M_ISENGARD_IRONPLATING_KEEP_HEALTH_BONUS				0 ; Nerfing the Fortress Armor Upgrade -GB
#define M_ISENGARD_IRONPLATING_KEEP_ARMOR_BONUS				0.35 ; ; .5
#define M_ISENGARD_IRONPLATING_EXPANSION_HEALTH_BONUS			0 ; Nerfing the Fortress Armor Upgrade -GB
#define M_ISENGARD_IRONPLATING_EXPANSION_ARMOR_BONUS			0.35 ; ; .5

;//Burning Forges
#define M_ISENGARD_BURNINGFORGES_BUILDCOST				750 ; ; 500
#define	M_ISENGARD_BURNINGFORGES_BUILDTIME				30

;//Excavations
#define M_ISENGARD_EXCAVATIONS_BUILDCOST					750 ; ; 1000
#define	M_ISENGARD_EXCAVATIONS_BUILDTIME					30

;//Murder of Crows
#define M_ISENGARD_MURDEROFCROWS_BUILDCOST				500
#define	M_ISENGARD_MURDEROFCROWS_BUILDTIME				30
														   
;//Wizards Tower
#define M_ISENGARD_WIZARDSTOWER_BUILDCOST					1000 ; ; 2500
#define M_ISENGARD_WIZARDSTOWER_BUILDTIME					30

#define	M_ISENGARD_WIZARDSTOWER_LIGHTNING_DAMAGE			300
#define	M_ISENGARD_WIZARDSTOWER_LIGHTNING_DAMAGE_FLAME	100
#define	M_ISENGARD_WIZARDSTOWER_LIGHTNING_RANGE			2000
#define M_ISENGARD_WIZARDSTOWER_LIGHTNING_FIRE_RADIUS		30//120
#define M_ISENGARD_WIZARDSTOWER_LIGHTNING_SHOT_DMG_RADIUS	30
#define M_ISENGARD_WIZARDSTOWER_LIGHTNING_NUMSHOTS		16
#define M_ISENGARD_WIZARDSTOWER_LIGHTNING_FIRE_DMG		20
#define M_ISENGARD_WIZARDSTOWER_LIGHTNING_FIRE_START_RAD	10

;//------TOWER EXPANSION-------
#define M_ISENGARD_TOWEREXPANSION_BUILDCOST				400 ; ; 600
#define M_ISENGARD_TOWEREXPANSION_BUILDTIME				20 ; ; 30
#define M_ISENGARD_TOWEREXPANSION_HEALTH					1500
#define M_ISENGARD_TOWEREXPANSION_HEALTH_DAMAGED			1000
#define M_ISENGARD_TOWEREXPANSION_HEALTH_REALLY_DAMAGED	500
#define	M_ISENGARD_TOWEREXPANSION_BOUNTY_VALUE			150

#define M_ISENGARD_TOWEREXPANSION_FIRE_FUEL				100
#define M_ISENGARD_TOWEREXPANSION_FIRE_MAX_BURN_RATE		20
#define M_ISENGARD_TOWEREXPANSION_FIRE_DECAY				5
#define M_ISENGARD_TOWEREXPANSION_FIRE_RESISTANCE			10

;//------BALLISTA EXPANSION-------
#define M_ISENGARD_BALLISTAEXPANSION_BUILDCOST				1200
#define M_ISENGARD_BALLISTAEXPANSION_BUILDTIME				30
#define M_ISENGARD_BALLISTAEXPANSION_HEALTH					1000
#define M_ISENGARD_BALLISTAEXPANSION_HEALTH_DAMAGED			500
#define M_ISENGARD_BALLISTAEXPANSION_HEALTH_REALLY_DAMAGED	250
#define	M_ISENGARD_BALLISTAEXPANSION_BOUNTY_VALUE				200

#define M_ISENGARD_BALLISTAEXPANSION_FIRE_FUEL				100
#define M_ISENGARD_BALLISTAEXPANSION_FIRE_MAX_BURN_RATE		20
#define M_ISENGARD_BALLISTAEXPANSION_FIRE_DECAY				5
#define M_ISENGARD_BALLISTAEXPANSION_FIRE_RESISTANCE			10

;//------MINELAUNCHER EXPANSION-------
#define M_ISENGARD_MINELAUNCHEREXPANSION_BUILDCOST				1500
#define M_ISENGARD_MINELAUNCHEREXPANSION_BUILDTIME				30
#define M_ISENGARD_MINELAUNCHEREXPANSION_HEALTH					1500
#define M_ISENGARD_MINELAUNCHEREXPANSION_HEALTH_DAMAGED			1000
#define M_ISENGARD_MINELAUNCHEREXPANSION_HEALTH_REALLY_DAMAGED	500
#define	M_ISENGARD_MINELAUNCHEREXPANSION_BOUNTY_VALUE				375

#define M_ISENGARD_MINELAUNCHEREXPANSION_FIRE_FUEL				100
#define M_ISENGARD_MINELAUNCHEREXPANSION_FIRE_MAX_BURN_RATE		20
#define M_ISENGARD_MINELAUNCHEREXPANSION_FIRE_DECAY				5
#define M_ISENGARD_MINELAUNCHEREXPANSION_FIRE_RESISTANCE			10

;//Mine Launcher weapon
#define	M_ISENGARD_MINELAUNCHER_RANGE								300 ; ; 150
#define M_ISENGARD_MINELAUNCHER_RADIUS							30.0
#define	M_ISENGARD_MINELAUNCHER_DAMAGE							300
#define	M_ISENGARD_MINELAUNCHER_FLAME_DAMAGE						200
#define M_ISENGARD_MINELAUNCHER_PREATTACKDELAY 					1000
#define M_ISENGARD_MINELAUNCHER_DELAYBETWEENSHOTS 				6000
#define M_ISENGARD_MINELAUNCHER_FIRINGDURATION 					3000
;//------------------------FURNACE-------------
#define M_ISENGARD_FURNACE_BUILDCOST				300
#define M_ISENGARD_FURNACE_BUILDTIME				15
#define M_ISENGARD_FURNACE_HEALTH					750 ; ; 2000
#define M_ISENGARD_FURNACE_HEALTH_DAMAGED				500 ; ; 1333
#define M_ISENGARD_FURNACE_HEALTH_REALLY_DAMAGED			250 ; ; 667
#define	M_ISENGARD_FURNACE_SHROUD_CLEAR				300
#define	M_ISENGARD_FURNACE_VISION_RANGE				160
#define M_ISENGARD_FURNACE_MONEY_TIME 				6000 
#define M_ISENGARD_FURNACE_MONEY_AMOUNT				25
#define M_ISENGARD_FURNACE_MONEY_RANGE				300

#define	M_ISENGARD_FURNACE_LVL1_EXP_AWARD 			40
#define	M_ISENGARD_FURNACE_LVL2_EXP_AWARD 			50
#define	M_ISENGARD_FURNACE_LVL3_EXP_AWARD 			60

#define M_ISENGARD_FURNACE_LVL2_EXP_NEEDED			1500
#define M_ISENGARD_FURNACE_LVL3_EXP_NEEDED 			3000

#define M_ISENGARD_FURNACE_LVL2_HP_ADD          			500
#define M_ISENGARD_FURNACE_LVL3_HP_ADD          			1000

#define M_ISENGARD_FURNACE_LVL2_PRODUCTION 			1.25
#define M_ISENGARD_FURNACE_LVL3_PRODUCTION 			1.5
#define	M_ISENGARD_FURNACE_BOUNTY_VALUE				75

;----------------------LUMBERMILL------------
#define M_ISENGARD_LUMBERMILL_BUILDCOST				370 ; ; 450
#define M_ISENGARD_LUMBERMILL_BUILDTIME				30
#define M_ISENGARD_LUMBERMILL_HEALTH					1500
#define M_ISENGARD_LUMBERMILL_HEALTH_DAMAGED			1000
#define M_ISENGARD_LUMBERMILL_HEALTH_REALLY_DAMAGED	500
#define	M_ISENGARD_LUMBERMILL_SHROUD_CLEAR			160

#define	M_ISENGARD_LUMBERMILL_LVL1_EXP_AWARD 			50
#define	M_ISENGARD_LUMBERMILL_LVL2_EXP_AWARD 			60
#define	M_ISENGARD_LUMBERMILL_LVL3_EXP_AWARD 			70
  
#define M_ISENGARD_LUMBERMILL_LVL2_EXP_NEEDED			2000
#define M_ISENGARD_LUMBERMILL_LVL3_EXP_NEEDED 		5000

#define M_ISENGARD_LUMBERMILL_LVL2_HP_ADD           	500
#define M_ISENGARD_LUMBERMILL_LVL3_HP_ADD           	1000

#define M_ISENGARD_LUMBERMILL_LVL2_PRODUCTION			1.25
#define M_ISENGARD_LUMBERMILL_LVL3_PRODUCTION 		1.25
#define	M_ISENGARD_LUMBERMILL_BOUNTY_VALUE			50

;------------------------URUKPIT-------------
#define M_ISENGARD_URUKPIT_BUILDCOST			350
#define M_ISENGARD_URUKPIT_BUILDTIME			35 ; ; 15
#define M_ISENGARD_URUKPIT_VISIONRANGE			160
#define M_ISENGARD_URUKPIT_SHROUDCLEAR			161
#define M_ISENGARD_URUKPIT_MAXHEALTH			3000
#define M_ISENGARD_URUKPIT_MAXHEALTHDAMAGED		2000
#define M_ISENGARD_URUKPIT_MAXHEALTH_REALLYDAMAGED	1000
		
#define M_ISENGARD_URUKPIT_LEVEL2_UPGRADE_COST		500
#define M_ISENGARD_URUKPIT_LEVEL2_UPGRADE_BUILDTIME 	30
#define M_ISENGARD_URUKPIT_LEVEL3_UPGRADE_COST		350 ; ; 1000
#define M_ISENGARD_URUKPIT_LEVEL3_UPGRADE_BUILDTIME	30 ; ; 60

#define	M_ISENGARD_URUKPIT_LVL1_EXP_AWARD		 	50
#define	M_ISENGARD_URUKPIT_LVL2_EXP_AWARD 		60
#define	M_ISENGARD_URUKPIT_LVL3_EXP_AWARD 		70

#define M_ISENGARD_URUKPIT_LVL2_HP_ADD          		1500
#define M_ISENGARD_URUKPIT_LVL3_HP_ADD          		1500

#define M_ISENGARD_URUKPIT_LVL2_BUILD_SPEED 		1.10  
#define M_ISENGARD_URUKPIT_LVL3_BUILD_SPEED 		1.25    

#define	M_ISENGARD_URUKPIT_BOUNTY_VALUE			88

;------------------------URUKSIEGEWORKS-------------
#define M_ISENGARD_URUKSIEGE_BUILDCOST			500 ; ; 800
#define M_ISENGARD_URUKSIEGE_BUILDTIME			30
#define M_ISENGARD_URUKSIEGE_VISIONRANGE			160
#define M_ISENGARD_URUKSIEGE_SHROUDCLEAR			161
#define M_ISENGARD_URUKSIEGE_MAXHEALTH			3000
#define M_ISENGARD_URUKSIEGE_MAXHEALTHDAMAGED		2000
#define M_ISENGARD_URUKSIEGE_MAXHEALTH_REALLYDAMAGED	1000

#define M_ISENGARD_URUKSIEGE_LEVEL2_UPGRADE_COST		800 ; ; 500
#define M_ISENGARD_URUKSIEGE_LEVEL2_UPGRADE_BUILDTIME 	30
#define M_ISENGARD_URUKSIEGE_LEVEL3_UPGRADE_COST		1000
#define M_ISENGARD_URUKSIEGE_LEVEL3_UPGRADE_BUILDTIME	60

#define	M_ISENGARD_URUKSIEGE_LVL1_EXP_AWARD		50
#define	M_ISENGARD_URUKSIEGE_LVL2_EXP_AWARD 		60
#define	M_ISENGARD_URUKSIEGE_LVL3_EXP_AWARD 		70

#define M_ISENGARD_URUKSIEGE_LVL2_HP_ADD          	1500
#define M_ISENGARD_URUKSIEGE_LVL3_HP_ADD          	1500

#define M_ISENGARD_URUKSIEGE_LVL2_BUILD_SPEED 		1.10   
#define M_ISENGARD_URUKSIEGE_LVL3_BUILD_SPEED 		1.25    

#define	M_ISENGARD_URUKSIEGE_BOUNTY_VALUE			200


;------------------------WARGPIT-------------
#define M_ISENGARD_WARGPIT_BUILDCOST			500
#define M_ISENGARD_WARGPIT_BUILDTIME			45 ; ; 30
#define M_ISENGARD_WARGPIT_VISIONRANGE			160
#define M_ISENGARD_WARGPIT_SHROUDCLEAR			161
#define M_ISENGARD_WARGPIT_MAXHEALTH			3000
#define M_ISENGARD_WARGPIT_MAXHEALTHDAMAGED		2000
#define M_ISENGARD_WARGPIT_MAXHEALTH_REALLYDAMAGED	1000

#define M_ISENGARD_WARGPIT_LEVEL2_UPGRADE_COST		150 ; ; 200
#define M_ISENGARD_WARGPIT_LEVEL2_UPGRADE_BUILDTIME 	30
#define M_ISENGARD_WARGPIT_LEVEL3_UPGRADE_COST		250 ; ; 300
#define M_ISENGARD_WARGPIT_LEVEL3_UPGRADE_BUILDTIME	30 ; ; 60

#define	M_ISENGARD_WARGPIT_LVL1_EXP_AWARD		 	50
#define	M_ISENGARD_WARGPIT_LVL2_EXP_AWARD 		60
#define	M_ISENGARD_WARGPIT_LVL3_EXP_AWARD 		70

#define M_ISENGARD_WARGPIT_LVL2_HP_ADD          		1500
#define M_ISENGARD_WARGPIT_LVL3_HP_ADD    	      	1500

#define M_ISENGARD_WARGPIT_LVL2_BUILD_SPEED 		1.10   
#define M_ISENGARD_WARGPIT_LVL3_BUILD_SPEED 		1.25    

#define	M_ISENGARD_WARGPIT_BOUNTY_VALUE			125


;------------------------ISENGARD_ARMORY-------------
#define M_ISENGARD_ARMORY_BUILDCOST			1000
#define M_ISENGARD_ARMORY_BUILDTIME			60
#define M_ISENGARD_ARMORY_VISIONRANGE			160
#define M_ISENGARD_ARMORY_SHROUDCLEAR			161
#define M_ISENGARD_ARMORY_MAXHEALTH			4500
#define M_ISENGARD_ARMORY_MAXHEALTHDAMAGED		3000
#define M_ISENGARD_ARMORY_MAXHEALTH_REALLYDAMAGED		1500

#define M_ISENGARD_ARMORY_LEVEL2_UPGRADE_COST			500
#define M_ISENGARD_ARMORY_LEVEL2_UPGRADE_BUILDTIME	30

#define M_ISENGARD_ARMORY_LEVEL3_UPGRADE_COST			1000
#define M_ISENGARD_ARMORY_LEVEL3_UPGRADE_BUILDTIME	60

#define	M_ISENGARD_ARMORY_LVL1_EXP_AWARD		 	50
#define	M_ISENGARD_ARMORY_LVL2_EXP_AWARD 			60
#define	M_ISENGARD_ARMORY_LVL3_EXP_AWARD 			70

#define M_ISENGARD_ARMORY_LVL2_EXP_NEEDED			6000 ;2400
#define M_ISENGARD_ARMORY_LVL3_EXP_NEEDED 		10000 ;4800

#define M_ISENGARD_ARMORY_LVL2_HP_ADD          		1500
#define M_ISENGARD_ARMORY_LVL3_HP_ADD    	      		1500

#define M_ISENGARD_ARMORY_LVL2_BUILD_SPEED 		1.10   
#define M_ISENGARD_ARMORY_LVL3_BUILD_SPEED 		1.25    

#define	M_ISENGARD_ARMORY_BOUNTY_VALUE			200

//------------------------ISENGARD WARG SENTRY-------------
#define M_ISENGARD_WARG_SENTRY_BUILDCOST					350 ; ; 400
#define M_ISENGARD_WARG_SENTRY_BUILDTIME					35 ; ; 15
#define M_ISENGARD_WARG_SENTRY_VISIONRANGE				175
#define M_ISENGARD_WARG_SENTRY_SHROUDCLEAR				200
#define M_ISENGARD_WARG_SENTRY_MAXHEALTH					2000 ; ; 1500
#define M_ISENGARD_WARG_SENTRY_MAXHEALTHDAMAGED			1000
#define M_ISENGARD_WARG_SENTRY_MAXHEALTH_REALLYDAMAGED	500
#define M_ISENGARD_WARG_SENTRY_BOUNTY_VALUE				100
#define M_ISENGARD_WARG_SENTRY_FIRE_FUEL					140
#define M_ISENGARD_WARG_SENTRY_FIRE_MAX_BURN_RATE			20
#define M_ISENGARD_WARG_SENTRY_FIRE_DECAY					5
#define M_ISENGARD_WARG_SENTRY_FIRE_RESISTANCE			10

//Warg Sentry Warg Info
#define M_ISENGARD_WARG_SENTRY_WARG_HEALTH				1200
#define M_ISENGARD_WARG_SENTRY_WARG_HEALTH_DAMAGED		600

#define	M_ISENGARD_WARG_SENTRY_LVL1_EXP_AWARD		 	30
#define	M_ISENGARD_WARG_SENTRY_LVL2_EXP_AWARD 			40
#define	M_ISENGARD_WARG_SENTRY_LVL3_EXP_AWARD 			50

#define M_ISENGARD_WARG_SENTRY_WARG_VISIONRANGE			200
#define M_ISENGARD_WARG_SENTRY_WARG_SHROUDCLEAR			200

#define M_ISENGARD_WARG_SENTRY_WARG_PREATTACKDELAY 		800 
#define M_ISENGARD_WARG_SENTRY_WARG_DELAYBETWEENSHOTS 		1000
#define M_ISENGARD_WARG_SENTRY_WARG_FIRINGDURATION 		400  
#define M_ISENGARD_WARG_SENTRY_WARG_DAMAGE				500

#define	M_ISENGARD_WARG_SENTRY_WARG_BOUNTY_VALUE			100

;------------------------IsengardCastleWallHub-------------
#define M_ISENGARD_CASTLE_WALLHUB_BUILDCOST				150
#define M_ISENGARD_CASTLE_WALLHUB_BUILDTIME				60 ; ; 20
#define M_ISENGARD_CASTLE_WALLHUB_VISION_RANGE			160
#define M_ISENGARD_CASTLE_WALLHUB_SHROUD_CLEAR			160
#define M_ISENGARD_CASTLE_WALLHUB_HEALTH					1500
#define M_ISENGARD_CASTLE_WALLHUB_HEALTH_DAMAGED			1000
#define M_ISENGARD_CASTLE_WALLHUB_HEALTH_REALLY_DAMAGED	500
#define M_ISENGARD_CASTLE_WALL_HUB_EXP_AWARD				10

;------------------------IsengardCastleWallSegment-------------
#define M_ISENGARD_CASTLE_WALLSEGMENT_BUILDCOST				50 ; ; 40
#define M_ISENGARD_CASTLE_WALLSEGMENT_BUILDTIME				30 ; ; 20
#define M_ISENGARD_CASTLE_WALLSEGMENT_VISION_RANGE			160
#define M_ISENGARD_CASTLE_WALLSEGMENT_SHROUD_CLEAR			160
#define M_ISENGARD_CASTLE_WALLSEGMENT_HEALTH					2500 ; ; 1500
#define M_ISENGARD_CASTLE_WALLSEGMENT_HEALTH_DAMAGED			1000
#define M_ISENGARD_CASTLE_WALLSEGMENT_HEALTH_REALLY_DAMAGED	500

;------------------------IsengardCastleWallGate-------------
#define M_ISENGARD_CASTLE_WALLGATE_BUILDCOST				400 ; ; 500
#define M_ISENGARD_CASTLE_WALLGATE_BUILDTIME				20
#define M_ISENGARD_CASTLE_WALLGATE_VISION_RANGE			160
#define M_ISENGARD_CASTLE_WALLGATE_SHROUD_CLEAR			160
#define M_ISENGARD_CASTLE_WALLGATE_HEALTH					1500
#define M_ISENGARD_CASTLE_WALLGATE_HEALTH_DAMAGED			1000
#define M_ISENGARD_CASTLE_WALLGATE_HEALTH_REALLY_DAMAGED	500
#define M_ISENGARD_CASTLE_WALL_GATE_EXP_AWARD				10


;KEEP NOT HOOKED UP YET
;------------------------ISENKEEP-------------
#define M_ISENGARD_ISENKEEP_BUILDCOST			800
#define M_ISENGARD_ISENKEEP_BUILDTIME			30
#define M_ISENGARD_ISENKEEP_VISIONRANGE			160
#define M_ISENGARD_ISENKEEP_SHROUDCLEAR			161
#define M_ISENGARD_ISENKEEP_MAXHEALTH			2000
#define M_ISENGARD_ISENKEEP_MAXHEALTHDAMAGED		1500
#define M_ISENGARD_ISENKEEP_MAXHEALTH_REALLYDAMAGED	500
#define	M_ISENGARD_ISENKEEP_BOUNTY_VALUE			200


;------------------------FLAGS------------------------
#define M_ISENGARD_FLAG_ECONOMY_UNPACK_COST		200
#define M_ISENGARD_FLAG_OUTPOST_UNPACK_COST		800 ;400
#define M_ISENGARD_FLAG_CAMP_UNPACK_COST			2000 ;800
#define M_ISENGARD_FLAG_CASTLE_UNPACK_COST		5000

;------------------------EVILMEN---------------------
;------------------------UNITS------------------------

;------------------------SHIP-------------

#define M_EVIL_BOMBARDSHIP_BUILDTIME			45
#define M_EVIL_BOMBARDSHIP_BUILDCOST			1500 ; ; 3000
#define M_EVIL_BOMBARDSHIP_HEALTH				1000

#define M_EVIL_FIRESHIP_BUILDTIME				45 ; ; 15
#define M_EVIL_FIRESHIP_BUILDCOST				1000 ; ; 500
#define M_EVIL_FIRESHIP_HEALTH				1000

#define M_EVIL_BATTLESHIP_BUILDTIME			20
#define M_EVIL_BATTLESHIP_BUILDCOST			400 ; ; 750
#define M_EVIL_BATTLESHIP_HEALTH				1200 ; ; 1000

#define	M_EVILMEN_SHIP_VISION_RANGE		 	500


#define	M_EVIL_SHIP_HEAVY_ARMOR_BUILDCOST			200
#define	M_EVIL_SHIP_HEAVY_ARMOR_BUILDTIME			10

#define	M_EVIL_SHIP_PIRATEFLAG_BUILDCOST			200
#define	M_EVIL_SHIP_PIRATEFLAG_BUILDTIME			10

#define	M_EVIL_SHIP_CROWSNEST_BUILDCOST			200
#define	M_EVIL_SHIP_CROWSNEST_BUILDTIME			10

#define M_EVIL_SHIP_FLAMINGPITCH_BUILDCOST		200
#define M_EVIL_SHIP_FLAMINGPITCH_BUILDTIME		10

#define M_EVIL_SHIP_ANTI_SHIP_WEAPON_RANGE		350
#define M_EVIL_SHIP_ANTI_SHIP_WEAPON_DAMAGE		25
#define M_EVIL_SHIP_ANTI_SHIP_SPEED				100 ; ; 120
#define M_EVIL_SHIP_ANTI_SHIP_REVEAL_RADIUS		100		; The amount we are reveal when firing
#define M_EVIL_SHIP_ANTI_SHIP_REVEAL_TIMEOUT		5000	; The amount of time we are revealed for when firing

#define M_EVIL_SHIP_BOMBARD_WEAPON_RANGE			1400 ; ; 1000
#define M_EVIL_SHIP_BOMBARD_WEAPON_MIN_RANGE		400
#define M_EVIL_SHIP_BOMBARD_WEAPON_DAMAGE			500
#define M_EVIL_SHIP_BOMBARD_WEAPON_FIRE_RATE		12000 ; ; 5000
#define M_EVIL_SHIP_BOMBARD_SPEED				80
#define M_EVIL_SHIP_BOMBARD_REVEAL_RADIUS			100		; The amount we are reveal when firing
#define M_EVIL_SHIP_BOMBARD_REVEAL_TIMEOUT		5000	; The amount of time we are revealed for when firing

#define M_EVIL_SHIP_TRANSPORT_SPEED			70

#define M_EVIL_FIRE_SHIP_RANGE				5
#define M_EVIL_FIRE_SHIP_TIMEOUT				30000
#define M_EVIL_FIRE_SHIP_WEAPON_DAMAGE_01			1000		; For expanding rings of damage.
#define M_EVIL_FIRE_SHIP_WEAPON_RADIUS_01			120 ; ; 200
#define M_EVIL_FIRE_SHIP_WEAPON_DAMAGE_02			300 ; ; 750
#define M_EVIL_FIRE_SHIP_WEAPON_RADIUS_02			300
#define M_EVIL_FIRE_SHIP_WEAPON_DAMAGE_03			200 ; ; 500
#define M_EVIL_FIRE_SHIP_WEAPON_RADIUS_03			400

#define M_EVIL_SHIP_FIRE_DAMAGE_TIMEOUT			500												; The tick timeout.
#define M_EVIL_SHIP_FIRE_DAMAGE_AMOUNT			5												; The damage dealt per tick.
#define M_EVIL_SHIP_FIRE_DAMAGE_HEALTH			#MULTIPLY( M_EVIL_BATTLESHIP_HEALTH 0.8 )			; The amount of damage we take before catching fire.

;------------------------BLACKRIDER-------------
#define M_EVILMEN_BLACKRIDER_BUILDCOST			1100 ; ; 1000
#define M_EVILMEN_BLACKRIDER_BUILDTIME			40 
#define M_EVILMEN_BLACKRIDER_HEALTH			1650 ; ; 2000
#define M_EVILMEN_BLACKRIDER_HEALTH_DAMAGED		850 ; ; 1000
#define M_EVILMEN_BLACKRIDER_HEALTH_RECOVERY_TIME		10000
#define	M_EVILMEN_BLACKRIDER_VISION_RANGE 		175
#define	M_EVILMEN_BLACKRIDER_SHROUD_RANGE 		300

#define	M_EVILMEN_BLACKRIDER_DAMAGE			150
#define M_EVILMEN_BLACKRIDER_MORGULBLADE_DAMAGE		80
#define	M_EVILMEN_BLACKRIDER_FORGEDBLADES_UPGRADE		90 
#define M_EVILMEN_BLACKRIDER_PREATTACKDELAY 		500  
#define M_EVILMEN_BLACKRIDER_DELAYBETWEENSHOTS 		1000 
#define M_EVILMEN_BLACKRIDER_FIRINGDURATION 		1000 
#define	M_EVILMEN_BLACKRIDER_BOUNTY_VALUE        		250



;-------------------------Central Keeps--------------------

#define M_MORDOR_CENTRAL_CAMP_KEEP_HEALTH			4000
#define M_ISGENARD_CENTRAL_CAMP_KEEP_HEALTH		4000
#define M_ROHAN_CENTRAL_CAMP_KEEP_HEALTH			4000
#define M_ROHAN_CENTRAL_GOLDENHALL_HEALTH			4000
#define M_GONDOR_CENTRAL_CAMP_KEEP_HEALTH			4000
#define M_ELDER_CENTRAL_CAMP_KEEP_HEALTH			4000
#define M_GOBLIN_CENTRAL_CAMP_KEEP_HEALTH			4000

;------------------------FLAGS------------------------
#define M_ELVES_FLAG_ECONOMY_UNPACK_COST			200
#define M_ELVES_FLAG_OUTPOST_UNPACK_COST			800
#define M_ELVES_FLAG_CAMP_UNPACK_COST			2000
#define M_ELVES_FLAG_CASTLE_UNPACK_COST			5000

;------------------------FLAGS------------------------
#define M_DWARVES_FLAG_ECONOMY_UNPACK_COST		200
#define M_DWARVES_FLAG_OUTPOST_UNPACK_COST		800
#define M_DWARVES_FLAG_CAMP_UNPACK_COST			2000
#define M_DWARVES_FLAG_CASTLE_UNPACK_COST			5000

;------------------------FLAGS------------------------
#define M_GOBLINS_FLAG_ECONOMY_UNPACK_COST		200
#define M_GOBLINS_FLAG_OUTPOST_UNPACK_COST		800
#define M_GOBLINS_FLAG_CAMP_UNPACK_COST			2000
#define M_GOBLINS_FLAG_CASTLE_UNPACK_COST			5000

;------------------------FLAGS------------------------
#define M_EVILMEN_FLAG_ECONOMY_UNPACK_COST		200
#define M_EVILMEN_FLAG_OUTPOST_UNPACK_COST		800
#define M_EVILMEN_FLAG_CAMP_UNPACK_COST			2000
#define M_EVILMEN_FLAG_CASTLE_UNPACK_COST			5000

;------------------------HEROES-----------------------
; Temp location for BOUNTY_VALUE Macros for heroes 
; until those units get added to this file.

#define	M_ROHAN_EOMER_BOUNTY_VALUE			150
#define M_ROHAN_EOWYN_BOUNTY_VALUE			150
#define M_ROHAN_FRODO_BOUNTY_VALUE			50
#define M_ROHAN_GAMLING_BOUNTY_VALUE			20
#define M_ROHAN_GIMLI_BOUNTY_VALUE			1000
#define M_ROHAN_LEGOLAS_BOUNTY_VALUE			750
#define M_ROHAN_MERRY_BOUNTY_VALUE			25
#define M_ROHAN_PIPPIN_BOUNTY_VALUE			25
#define M_ROHAN_SAM_BOUNTY_VALUE				50
#define M_ROHAN_THEODEN_BOUNTY_VALUE			150

#define M_GONDOR_ARAGORN_BOUNTY_VALUE			375
#define M_GONDOR_BOROMIR_BOUNTY_VALUE			175
#define M_GONDOR_DAMROD_BOUNTY_VALUE			20
#define M_GONDOR_DENETHOR_BOUNTY_VALUE			20
#define M_GONDOR_FARAMIR_BOUNTY_VALUE			150
#define M_GONDOR_GANDALFWHITE_BOUNTY_VALUE		750
#define M_GONDOR_GANDALFGREY_BOUNTY_VALUE			750
#define M_GONDOR_GWAIHIR_BOUNTY_VALUE			200

#define M_ELVEN_ARWEN_BOUNTY_VALUE			200
#define M_ELVEN_ELROND_BOUNTY_VALUE			625
#define M_ELVEN_GALADRIEL_BOUNTY_VALUE			2500
#define M_ELVEN_HALDIR_BOUNTY_VALUE			750
#define M_ELVEN_ISILDUR_BOUNTY_VALUE			20
#define M_ELVEN_GLORFINDEL_BOUNTY_VALUE			250
#define M_ELVEN_THRANDUIL_BOUNTY_VALUE			625

#define M_STEALTH_THRANDUIL_OPACITY_MIN			60.0%
#define M_STEALTH_THRANDUIL_OPACITY_MAX			80.0%

#define M_DWARVEN_DAIN_BOUNTY_VALUE			750
#define M_DWARVEN_GIMLI_BOUNTY_VALUE			1000
#define M_DWARVEN_GLOIN_BOUNTY_VALUE			625

;-----------------------Sauron------------------
#define M_SAURON_BOUNTY_VALUE				2500
#define M_SAURON_BUILDCOST				10000
#define M_SAURON_BUILDTIME				300
#define M_SAURON_HEALTH					15000
#define M_SAURON_DAMAGE					2000
#define M_SAURON_DEATH_EXPLOSION_DAMAGE	500

#define M_ISENGARD_SARUMAN_BOUNTY_VALUE			750
#define M_ISENGARD_WORMTONGUE_BOUNTY_VALUE		200

#define M_WILD_GOBLIN_KING_BOUNTY_VALUE			625


;----------------Generic Hero Level Up Bonuses --------
#define	M_HERO_LVL2_HP_ADD	 			60 ;100
#define	M_HERO_LVL3_HP_ADD	 			60 ;100
#define	M_HERO_LVL4_HP_ADD	 			80 ;100
#define	M_HERO_LVL5_HP_ADD	 			100
#define	M_HERO_LVL6_HP_ADD	 			100 ;200
#define	M_HERO_LVL7_HP_ADD	 			100 ;200
#define	M_HERO_LVL8_HP_ADD	 			100 ;200
#define	M_HERO_LVL9_HP_ADD	 			100 ;250
#define	M_HERO_LVL10_HP_ADD	 			100 ;250

#define	M_HERO_LVL2_DAM_ADD				10
#define	M_HERO_LVL3_DAM_ADD				10
#define	M_HERO_LVL4_DAM_ADD				10
#define	M_HERO_LVL5_DAM_ADD				10
#define	M_HERO_LVL6_DAM_ADD				10
#define	M_HERO_LVL7_DAM_ADD				10
#define	M_HERO_LVL8_DAM_ADD				10
#define	M_HERO_LVL9_DAM_ADD				10
#define	M_HERO_LVL10_DAM_ADD				20

;----------------Generic Hobbit Level Up Bonuses --------
#define	M_HOBBIT_LVL2_HP_ADD	 			20
#define	M_HOBBIT_LVL3_HP_ADD	 			20
#define	M_HOBBIT_LVL4_HP_ADD	 			20
#define	M_HOBBIT_LVL5_HP_ADD	 			20
#define	M_HOBBIT_LVL6_HP_ADD	 			25
#define	M_HOBBIT_LVL7_HP_ADD	 			25
#define	M_HOBBIT_LVL8_HP_ADD	 			25
#define	M_HOBBIT_LVL9_HP_ADD	 			30
#define	M_HOBBIT_LVL10_HP_ADD	 			30

#define	M_HOBBIT_LVL2_DAM_ADD				10
#define	M_HOBBIT_LVL3_DAM_ADD				10
#define	M_HOBBIT_LVL4_DAM_ADD				10
#define	M_HOBBIT_LVL5_DAM_ADD				10
#define	M_HOBBIT_LVL6_DAM_ADD				15
#define	M_HOBBIT_LVL7_DAM_ADD				15
#define	M_HOBBIT_LVL8_DAM_ADD				15
#define	M_HOBBIT_LVL9_DAM_ADD				20
#define	M_HOBBIT_LVL10_DAM_ADD				20

;----------------Generic Hero Resurect Times --------
#define	M_HERO_LVL1_REZ	 				30
#define	M_HERO_LVL2_REZ	 				60
#define	M_HERO_LVL3_REZ	 				60
#define	M_HERO_LVL4_REZ	 				90
#define	M_HERO_LVL5_REZ	 				90
#define	M_HERO_LVL6_REZ	 				90
#define	M_HERO_LVL7_REZ	 				90
#define	M_HERO_LVL8_REZ	 				90
#define	M_HERO_LVL9_REZ	 				120
#define	M_HERO_LVL10_REZ	 				120


;-----------------------Theoden------------------
#define M_THEODEN_BUILDCOST				1100 ; ; 1200
#define M_THEODEN_BUILDTIME				70 ; ; 30
#define M_THEODEN_HEALTH					1600

#define	M_THEODEN_LVL1_EXP_AWARD 				20
#define	M_THEODEN_LVL2_EXP_AWARD 				25
#define	M_THEODEN_LVL3_EXP_AWARD 				30
#define	M_THEODEN_LVL4_EXP_AWARD 				35
#define	M_THEODEN_LVL5_EXP_AWARD 				40
#define	M_THEODEN_LVL6_EXP_AWARD 				45
#define	M_THEODEN_LVL7_EXP_AWARD 				50
#define	M_THEODEN_LVL8_EXP_AWARD 				60
#define	M_THEODEN_LVL9_EXP_AWARD 				75
#define	M_THEODEN_LVL10_EXP_AWARD 			100

#define	M_THEODEN_LVL2_EXP_NEEDED 			50 ;100
#define	M_THEODEN_LVL3_EXP_NEEDED 			100 ;200
#define	M_THEODEN_LVL4_EXP_NEEDED 			150 ;400 ; ; 200
#define	M_THEODEN_LVL5_EXP_NEEDED 			500 ;600 ; ; 300
#define	M_THEODEN_LVL6_EXP_NEEDED 			850 ;800 ; ; 400
#define	M_THEODEN_LVL7_EXP_NEEDED 			1200 ;1000 ; ; 500
#define	M_THEODEN_LVL8_EXP_NEEDED 			1500 ;1200 ; ; 700
#define	M_THEODEN_LVL9_EXP_NEEDED 			1800 ; 1600 ; ; 900
#define	M_THEODEN_LVL10_EXP_NEEDED 			2100 ;2000 ; ; 1100

#define M_THEODEN_PREATTACKDELAY 				300 ; ; 1000
#define M_THEODEN_DELAYBETWEENSHOTS 			766 ; ; 1250
#define M_THEODEN_FIRINGDURATION 				1100 ; ; 1400
#define	M_THEODEN_DAMAGE						120		; turned this up a little because animations slowed down... ; ; 180

#define M_THEODEN_MOUNTED_PREATTACKDELAY 		300 ; ; 700
#define M_THEODEN_MOUNTED_DELAYBETWEENSHOTS 	1066 ; ; 800
#define M_THEODEN_MOUNTED_FIRINGDURATION 		1400 ; ; 800
#define	M_THEODEN_MOUNTED_DAMAGE				200 ; ; 35

;-----------------------Eowyn------------------
#define M_EOWYN_BUILDCOST					2000 ; ; 1200
#define M_EOWYN_BUILDTIME					35 ; ; 30
#define M_EOWYN_HEALTH					2800 ; ; 1600

#define	M_EOWYN_LVL1_EXP_AWARD 				20
#define	M_EOWYN_LVL2_EXP_AWARD 				25
#define	M_EOWYN_LVL3_EXP_AWARD 				30
#define	M_EOWYN_LVL4_EXP_AWARD 				35
#define	M_EOWYN_LVL5_EXP_AWARD 				40
#define	M_EOWYN_LVL6_EXP_AWARD 				45
#define	M_EOWYN_LVL7_EXP_AWARD 				50
#define	M_EOWYN_LVL8_EXP_AWARD 				60
#define	M_EOWYN_LVL9_EXP_AWARD 				75
#define	M_EOWYN_LVL10_EXP_AWARD 				100

#define	M_EOWYN_LVL2_EXP_NEEDED 			30 ;100 ; ; 50
#define	M_EOWYN_LVL3_EXP_NEEDED 			60 ;200 ; ; 100
#define	M_EOWYN_LVL4_EXP_NEEDED 			90 ;400 ; ; 200
#define	M_EOWYN_LVL5_EXP_NEEDED 			280 ;600 ; ; 300
#define	M_EOWYN_LVL6_EXP_NEEDED 			470 ;800 ; ; 400
#define	M_EOWYN_LVL7_EXP_NEEDED 			660 ;1000 ; ; 500
#define	M_EOWYN_LVL8_EXP_NEEDED 			810 ;1200 ; ; 700
#define	M_EOWYN_LVL9_EXP_NEEDED 			960 ; 1600 ; ; 900
#define	M_EOWYN_LVL10_EXP_NEEDED 			1110 ;2000 ; ; 1100

#define M_EOWYN_PREATTACKDELAY 				5 ; ; 1000
#define M_EOWYN_DELAYBETWEENSHOTS 			700 ; ; 600
#define M_EOWYN_FIRINGDURATION 				700 ; ; 1500
#define	M_EOWYN_DAMAGE					150

#define	M_EOWYN_SMITE_DAMAGE				500
#define M_EOWYN_SHIELD_MAIDEN_ARMOR_BONUS_PERCENTAGE      0.35		 ; ; .5
#define M_EOWYN_SHIELD_MAIDEN_DAMAGE_BONUS_MULT		2.0

;-----------------------Arwen------------------
#define M_ARWEN_BUILDCOST					1100 ; ; 800
#define M_ARWEN_BUILDTIME					75 ; ; 30
#define M_ARWEN_HEALTH					2000

#define	M_ARWEN_LVL1_EXP_AWARD 				20
#define	M_ARWEN_LVL2_EXP_AWARD 				25
#define	M_ARWEN_LVL3_EXP_AWARD 				30
#define	M_ARWEN_LVL4_EXP_AWARD 				35
#define	M_ARWEN_LVL5_EXP_AWARD 				40
#define	M_ARWEN_LVL6_EXP_AWARD 				45
#define	M_ARWEN_LVL7_EXP_AWARD 				50
#define	M_ARWEN_LVL8_EXP_AWARD 				60
#define	M_ARWEN_LVL9_EXP_AWARD 				75
#define	M_ARWEN_LVL10_EXP_AWARD 				100

#define	M_ARWEN_LVL2_EXP_NEEDED 			60 ;100 ; ; 50
#define	M_ARWEN_LVL3_EXP_NEEDED 			120 ;200 ; ; 100
#define	M_ARWEN_LVL4_EXP_NEEDED 			180 ;400 ; ; 200
#define	M_ARWEN_LVL5_EXP_NEEDED 			530 ;600 ; ; 300
#define	M_ARWEN_LVL6_EXP_NEEDED 			880 ;800 ; ; 400
#define	M_ARWEN_LVL7_EXP_NEEDED 			1230 ;1000 ; ; 500
#define	M_ARWEN_LVL8_EXP_NEEDED 			1580 ;1200 ; ; 700
#define	M_ARWEN_LVL9_EXP_NEEDED 			1930 ; 1600 ; ; 900
#define	M_ARWEN_LVL10_EXP_NEEDED 			2280 ;2000 ; ; 1100

#define M_ARWEN_PREATTACKDELAY 				200 ; ; 1000
#define M_ARWEN_DELAYBETWEENSHOTS 			866 ; ; 600
#define M_ARWEN_FIRINGDURATION 				1100 ; ; 1500
#define	M_ARWEN_DAMAGE					180 ; ; 100

#define M_ARWEN_FLOOD_DECREASEBURNRATE_RADIUS 100.0
#define M_ARWEN_FLOOD_DECREASEBURNRATE_AMOUNT 300.0

;-----------------------Glorfindel------------------
#define M_GLORFINDEL_BUILDCOST					2000 ; ; 1500
#define M_GLORFINDEL_BUILDTIME					50 ; ; 30
#define M_GLORFINDEL_HEALTH					3000 ; ; 1500

#define	M_GLORFINDEL_LVL1_EXP_AWARD 				20
#define	M_GLORFINDEL_LVL2_EXP_AWARD 				25
#define	M_GLORFINDEL_LVL3_EXP_AWARD 				30
#define	M_GLORFINDEL_LVL4_EXP_AWARD 				35
#define	M_GLORFINDEL_LVL5_EXP_AWARD 				40
#define	M_GLORFINDEL_LVL6_EXP_AWARD 				45
#define	M_GLORFINDEL_LVL7_EXP_AWARD 				50
#define	M_GLORFINDEL_LVL8_EXP_AWARD 				60
#define	M_GLORFINDEL_LVL9_EXP_AWARD 				75
#define	M_GLORFINDEL_LVL10_EXP_AWARD 				100

#define	M_GLORFINDEL_LVL2_EXP_NEEDED 				90 ;100 ; ; 50
#define	M_GLORFINDEL_LVL3_EXP_NEEDED 				180 ;200 ; ; 100
#define	M_GLORFINDEL_LVL4_EXP_NEEDED 				270 ;400 ; ; 200
#define	M_GLORFINDEL_LVL5_EXP_NEEDED 				460 ;600 ; ; 300
#define	M_GLORFINDEL_LVL6_EXP_NEEDED 				650 ;800 ; ; 400
#define	M_GLORFINDEL_LVL7_EXP_NEEDED 				840 ;1000 ; ; 500
#define	M_GLORFINDEL_LVL8_EXP_NEEDED 				1240 ;1200 ; ; 600
#define	M_GLORFINDEL_LVL9_EXP_NEEDED 				1640 ;1600 ; ; 700
#define	M_GLORFINDEL_LVL10_EXP_NEEDED 				2040 ;2000 ; ; 800

#define M_GLORFINDEL_PREATTACKDELAY 				1000
#define M_GLORFINDEL_DELAYBETWEENSHOTS 				600
#define M_GLORFINDEL_FIRINGDURATION 				1500
#define	M_GLORFINDEL_DAMAGE					40

#define	M_GLORFINDEL_STARLIGHT_RADIUS				200


;-----------------------Eomer------------------
#define M_EOMER_BUILDCOST					2000 ; ; 1000
#define M_EOMER_BUILDTIME					50 ; ; 30
#define M_EOMER_HEALTH					3200 ; ; 2400

#define	M_EOMER_LVL1_EXP_AWARD 				20
#define	M_EOMER_LVL2_EXP_AWARD 				25
#define	M_EOMER_LVL3_EXP_AWARD 				30
#define	M_EOMER_LVL4_EXP_AWARD 				35
#define	M_EOMER_LVL5_EXP_AWARD 				40
#define	M_EOMER_LVL6_EXP_AWARD 				45
#define	M_EOMER_LVL7_EXP_AWARD 				50
#define	M_EOMER_LVL8_EXP_AWARD 				60
#define	M_EOMER_LVL9_EXP_AWARD 				75
#define	M_EOMER_LVL10_EXP_AWARD 				100

#define	M_EOMER_LVL2_EXP_NEEDED 			50 ;100
#define	M_EOMER_LVL3_EXP_NEEDED 			100 ;200
#define	M_EOMER_LVL4_EXP_NEEDED 			150 ;400 ; ; 200
#define	M_EOMER_LVL5_EXP_NEEDED 			340 ;600 ; ; 300
#define	M_EOMER_LVL6_EXP_NEEDED 			530 ;800 ; ; 400
#define	M_EOMER_LVL7_EXP_NEEDED 			720 ;1000 ; ; 500
#define	M_EOMER_LVL8_EXP_NEEDED 			870 ;1200 ; ; 700
#define	M_EOMER_LVL9_EXP_NEEDED 			1020 ; 1600 ; ; 900
#define	M_EOMER_LVL10_EXP_NEEDED 			1170 ;2000 ; ; 1100

#define M_EOMER_PREATTACKDELAY 				150 ; ; 700
#define M_EOMER_DELAYBETWEENSHOTS 			850 ; ; 800
#define M_EOMER_FIRINGDURATION 				1000 ; ; 800
#define	M_EOMER_DAMAGE					150 ; ; 80

#define M_EOMER_SPEAR_PREATTACKDELAY 			2733 ;600
#define M_EOMER_SPEAR_DELAYBETWEENSHOTS 			800
#define M_EOMER_SPEAR_FIRINGDURATION 			2900 ;800

;Throw spear power (Eomer version and the 3 create a hero versions)
#define	M_EOMER_SPEAR_DAMAGE				400 ; ; 300
#define	M_CAH_SPEAR_DAMAGE_LVL1			1000
#define M_CAH_SPEAR_DAMAGE_LVL2			2000
#define	M_CAH_SPEAR_DAMAGE_LVL3			3000

;-----------------------Gamling------------------
#define M_GAMLING_BUILDCOST				1400
#define M_GAMLING_BUILDTIME				30
#define M_GAMLING_HEALTH					2400

#define	M_GAMLING_LVL1_EXP_AWARD 				20
#define	M_GAMLING_LVL2_EXP_AWARD 				25
#define	M_GAMLING_LVL3_EXP_AWARD 				30
#define	M_GAMLING_LVL4_EXP_AWARD 				35
#define	M_GAMLING_LVL5_EXP_AWARD 				40
#define	M_GAMLING_LVL6_EXP_AWARD 				45
#define	M_GAMLING_LVL7_EXP_AWARD 				50
#define	M_GAMLING_LVL8_EXP_AWARD 				60
#define	M_GAMLING_LVL9_EXP_AWARD 				75
#define	M_GAMLING_LVL10_EXP_AWARD 			100

#define	M_GAMLING_LVL2_EXP_NEEDED 			50 ;100 
#define	M_GAMLING_LVL3_EXP_NEEDED 			100 ;400 
#define	M_GAMLING_LVL4_EXP_NEEDED 			200 ;600 
#define	M_GAMLING_LVL5_EXP_NEEDED 			300 ;800 
#define	M_GAMLING_LVL6_EXP_NEEDED 			500 ;1000 
#define	M_GAMLING_LVL7_EXP_NEEDED 			700 ;1200 
#define	M_GAMLING_LVL8_EXP_NEEDED 			900 ;1400 
#define	M_GAMLING_LVL9_EXP_NEEDED 			1100 ;1600
#define	M_GAMLING_LVL10_EXP_NEEDED 			1500 ;2000

#define M_GAMLING_PREATTACKDELAY 				733
#define M_GAMLING_DELAYBETWEENSHOTS 			766
#define M_GAMLING_FIRINGDURATION 				866
#define	M_GAMLING_DAMAGE					50

;-----------------------Aragorn------------------
#define M_ARAGORN_BUILDCOST				3000 ; ; 2000
#define M_ARAGORN_BUILDTIME				45 ; ; 30
#define M_ARAGORN_HEALTH					3500 ; ; 2400

#define	M_ARAGORN_LVL1_EXP_AWARD 				35
#define	M_ARAGORN_LVL2_EXP_AWARD 				40
#define	M_ARAGORN_LVL3_EXP_AWARD 				45
#define	M_ARAGORN_LVL4_EXP_AWARD 				50
#define	M_ARAGORN_LVL5_EXP_AWARD 				60
#define	M_ARAGORN_LVL6_EXP_AWARD 				75
#define	M_ARAGORN_LVL7_EXP_AWARD 				90
#define	M_ARAGORN_LVL8_EXP_AWARD 				105
#define	M_ARAGORN_LVL9_EXP_AWARD 				125
#define	M_ARAGORN_LVL10_EXP_AWARD 			150

#define	M_ARAGORN_LVL2_EXP_NEEDED 			30 ;200 50 ; ; 100
#define	M_ARAGORN_LVL3_EXP_NEEDED 			60 ;400 100 ; ; 200
#define	M_ARAGORN_LVL4_EXP_NEEDED 			90 ;600 200 ; ; 300
#define	M_ARAGORN_LVL5_EXP_NEEDED 			420 ;800 300 ; ; 500
#define	M_ARAGORN_LVL6_EXP_NEEDED 			750 ;1000 500 ; ; 700
#define	M_ARAGORN_LVL7_EXP_NEEDED 			1080 ;1200 700 ; ; 900
#define	M_ARAGORN_LVL8_EXP_NEEDED 			1560 ;1400 900 ; ; 1100
#define	M_ARAGORN_LVL9_EXP_NEEDED 			2040 ;1600 1100 ; ; 1500
#define	M_ARAGORN_LVL10_EXP_NEEDED 			2520 ;2000 1500 ; ; 2000

#define M_ARAGORN_PREATTACKDELAY 				600
#define M_ARAGORN_DELAYBETWEENSHOTS 			750 ; ; 600
#define M_ARAGORN_FIRINGDURATION 				800 ;600 ; ; 1000
#define	M_ARAGORN_DAMAGE					250 ; ; 400

// Have to include the mumakil passengers or else PulseEmotion will pass the emotion to the container, ultimately making the Mumakil afraid 
//(which this filter was designed to prevent in the first place)
#define M_ELENDIL_OBJECT_FILTER				ALL -MordorMumakil -MordorHaradrimArcherHordeOnMumakil -MordorHaradrimArcherMumakil ENEMIES

;-----------------------Gimli------------------
#define M_GIMLI_BUILDCOST					3000 ; ; 4000
#define M_GIMLI_BUILDTIME					45 ; ; 30
#define M_GIMLI_HEALTH					3600 ; ; 4000

#define	M_GIMLI_LVL1_EXP_AWARD 				35
#define	M_GIMLI_LVL2_EXP_AWARD 				40
#define	M_GIMLI_LVL3_EXP_AWARD 				45
#define	M_GIMLI_LVL4_EXP_AWARD 				50
#define	M_GIMLI_LVL5_EXP_AWARD 				60
#define	M_GIMLI_LVL6_EXP_AWARD 				75
#define	M_GIMLI_LVL7_EXP_AWARD 				90
#define	M_GIMLI_LVL8_EXP_AWARD 				105
#define	M_GIMLI_LVL9_EXP_AWARD 				125
#define	M_GIMLI_LVL10_EXP_AWARD 				150

#define	M_GIMLI_LVL2_EXP_NEEDED 				30 ;200  ; ; 50
#define	M_GIMLI_LVL3_EXP_NEEDED 				60 ;400  ; ; 100
#define	M_GIMLI_LVL4_EXP_NEEDED 				90 ;600  ; ; 200
#define	M_GIMLI_LVL5_EXP_NEEDED 				420 ;800  ; ; 300
#define	M_GIMLI_LVL6_EXP_NEEDED 				750 ;1000  ; ; 500
#define	M_GIMLI_LVL7_EXP_NEEDED 				1080 ;1200  ; ; 700
#define	M_GIMLI_LVL8_EXP_NEEDED 				1560 ;1400  ; ; 900
#define	M_GIMLI_LVL9_EXP_NEEDED 				2040 ;1600 ; ; 1100
#define	M_GIMLI_LVL10_EXP_NEEDED 				2520 ;2000 ; ; 1500

#define M_GIMLI_PREATTACKDELAY 				433
#define M_GIMLI_DELAYBETWEENSHOTS 			600
#define M_GIMLI_FIRINGDURATION 				600
#define	M_GIMLI_DAMAGE					500
#define M_GIMLI_PREATTACKDELAY_SUPER			833
#define M_GIMLI_DELAYBETWEENSHOTS_SUPER			600
#define M_GIMLI_FIRINGDURATION_SUPER			900
#define	M_GIMLI_DAMAGE_SUPER				500
#define	M_GIMLI_LEAP_DAMAGE				120

#define	M_GIMLI_THROW_DAMAGE				200 ; ; 400
#define	M_GIMLI_THROW_RANGE				275 ; ; 175

//----------------------Tornado--------------------
#define M_TORNADO_DAMAGE_INNER				120
#define M_TORNADO_DAMAGE_OUTER				30
#define M_TORNADO_METASHOCKWAVE_AMOUNT		170.0
#define M_TORNADO_METASHOCKWAVE_RADIUS		80.0

// Elrond's Whirlwind is a slightly nerfed Tornado
#define M_WHIRLWIND_DAMAGE_INNER				90
#define M_WHIRLWIND_DAMAGE_OUTER				20
#define M_WHIRLWIND_METASHOCKWAVE_AMOUNT		150.0
#define M_WHIRLWIND_METASHOCKWAVE_RADIUS		50.0

;-----------------------Dain------------------
#define M_DAIN_BUILDCOST						2000 ; ; 2500
#define M_DAIN_BUILDTIME						70 ; ; 30
#define M_DAIN_HEALTH							2700 ; ; 3000

#define	M_DAIN_LVL1_EXP_AWARD 				35
#define	M_DAIN_LVL2_EXP_AWARD 				40
#define	M_DAIN_LVL3_EXP_AWARD 				45
#define	M_DAIN_LVL4_EXP_AWARD 				50
#define	M_DAIN_LVL5_EXP_AWARD 				60
#define	M_DAIN_LVL6_EXP_AWARD 				75
#define	M_DAIN_LVL7_EXP_AWARD 				90
#define	M_DAIN_LVL8_EXP_AWARD 				105
#define	M_DAIN_LVL9_EXP_AWARD 				125
#define	M_DAIN_LVL10_EXP_AWARD 				150

#define	M_DAIN_LVL2_EXP_NEEDED 				30 ;200  ; ; 50
#define	M_DAIN_LVL3_EXP_NEEDED 				60 ;400  ; ; 100
#define	M_DAIN_LVL4_EXP_NEEDED 				90 ;600  ; ; 200
#define	M_DAIN_LVL5_EXP_NEEDED 				190 ;800  ; ; 300
#define	M_DAIN_LVL6_EXP_NEEDED 				290 ;1000  ; ; 500
#define	M_DAIN_LVL7_EXP_NEEDED 				390 ;1200  ; ; 700
#define	M_DAIN_LVL8_EXP_NEEDED 				770 ;1400  ; ; 900
#define	M_DAIN_LVL9_EXP_NEEDED 				1150 ;1600 ; ; 1100
#define	M_DAIN_LVL10_EXP_NEEDED 				1530 ;2000 ; ; 1500

#define M_DAIN_PREATTACKDELAY 				1366 ; ; 433
#define M_DAIN_DELAYBETWEENSHOTS 				1300 ; ; 600
#define M_DAIN_FIRINGDURATION 				700 ; ; 600
#define	M_DAIN_DAMAGE					400 ; ; 300
#define	M_DAIN_SUMMON_TIMEOUT				70000 ; ; 120000

#define M_DAIN_MIGHTYRAGE_EFFECT_RADIUS			100
;-----------------------Galadriel----------------
#define M_GALADRIEL_BUILDCOST				10000
#define M_GALADRIEL_BUILDTIME				300
#define M_GALADRIEL_HEALTH				5000
#define M_GALADRIEL_DAMAGE				1000


;----------------------- ------------------
#define M_LEGOLAS_BUILDCOST				2000 ; ; 3000
#define M_LEGOLAS_BUILDTIME				95 ; ; 30
#define M_LEGOLAS_HEALTH					1500 ; ; 2500

#define	M_LEGOLAS_LVL1_EXP_AWARD 				35
#define	M_LEGOLAS_LVL2_EXP_AWARD 				40
#define	M_LEGOLAS_LVL3_EXP_AWARD 				45
#define	M_LEGOLAS_LVL4_EXP_AWARD 				50
#define	M_LEGOLAS_LVL5_EXP_AWARD 				60
#define	M_LEGOLAS_LVL6_EXP_AWARD 				75
#define	M_LEGOLAS_LVL7_EXP_AWARD 				90
#define	M_LEGOLAS_LVL8_EXP_AWARD 				105
#define	M_LEGOLAS_LVL9_EXP_AWARD 				125
#define	M_LEGOLAS_LVL10_EXP_AWARD 			150

#define	M_LEGOLAS_LVL2_EXP_NEEDED 			100 ;200  ; ; 50
#define	M_LEGOLAS_LVL3_EXP_NEEDED 			200 ;400  ; ; 100
#define	M_LEGOLAS_LVL4_EXP_NEEDED 			300 ;600  ; ; 200
#define	M_LEGOLAS_LVL5_EXP_NEEDED 			590 ;800  ; ; 300
#define	M_LEGOLAS_LVL6_EXP_NEEDED 			880 ;1000  ; ; 500
#define	M_LEGOLAS_LVL7_EXP_NEEDED 			1170 ;1200  ; ; 700
#define	M_LEGOLAS_LVL8_EXP_NEEDED 			1370 ;1400  ; ; 900
#define	M_LEGOLAS_LVL9_EXP_NEEDED 			1570 ;1600 ; ; 1100
#define	M_LEGOLAS_LVL10_EXP_NEEDED 			1770 ;2000 ; ; 1500

#define M_LEGOLAS_PREATTACKDELAY 				800 
#define M_LEGOLAS_DELAYBETWEENSHOTS 			0 
#define M_LEGOLAS_FIRINGDURATION 				0
#define M_LEGOLAS_RELOADTIME_MIN				1000
#define M_LEGOLAS_RELOADTIME_MAX				1000
#define	M_LEGOLAS_BOW_RANGE				380 ; ; 400
#define	M_LEGOLAS_BOW_DAMAGE				150

#define	M_LEGOLAS_HAWKSTRIKE_DAMAGE			400
#define	M_LEGOLAS_HAWKSTRIKE_RANGE			485

#define	M_LEGOLAS_ARROWSTORM_DAMAGE			200
#define	M_LEGOLAS_ARROWSTORM_RANGE			400

#define M_LEGOLAS_KNIFE_PREATTACKDELAY 			500
#define M_LEGOLAS_KNIFE_DELAYBETWEENSHOTS 		1
#define M_LEGOLAS_KNIFE_FIRINGDURATION 			500
#define	M_LEGOLAS_KNIFE_DAMAGE				200

;-----------------------Thranduil------------------
#define M_THRANDUIL_BUILDCOST					3000 ; ; 2500
#define M_THRANDUIL_BUILDTIME					90 ; ; 30
#define M_THRANDUIL_HEALTH					2000

#define	M_THRANDUIL_LVL1_EXP_AWARD 			35
#define	M_THRANDUIL_LVL2_EXP_AWARD 			40
#define	M_THRANDUIL_LVL3_EXP_AWARD 			45
#define	M_THRANDUIL_LVL4_EXP_AWARD 			50
#define	M_THRANDUIL_LVL5_EXP_AWARD 			60
#define	M_THRANDUIL_LVL6_EXP_AWARD 			75
#define	M_THRANDUIL_LVL7_EXP_AWARD 			90
#define	M_THRANDUIL_LVL8_EXP_AWARD 			105
#define	M_THRANDUIL_LVL9_EXP_AWARD 			125
#define	M_THRANDUIL_LVL10_EXP_AWARD 			150

#define	M_THRANDUIL_LVL2_EXP_NEEDED 			40 ;200  ; ; 50
#define	M_THRANDUIL_LVL3_EXP_NEEDED 			80 ;400  ; ; 100
#define	M_THRANDUIL_LVL4_EXP_NEEDED 			120 ;600  ; ; 200
#define	M_THRANDUIL_LVL5_EXP_NEEDED 			370 ;800  ; ; 300
#define	M_THRANDUIL_LVL6_EXP_NEEDED 			620 ;1000  ; ; 500
#define	M_THRANDUIL_LVL7_EXP_NEEDED 			870 ;1200  ; ; 700
#define	M_THRANDUIL_LVL8_EXP_NEEDED 			1370 ;1400  ; ; 900
#define	M_THRANDUIL_LVL9_EXP_NEEDED 			1870 ;1600 ; ; 1100
#define	M_THRANDUIL_LVL10_EXP_NEEDED 			2370 ;2000 ; ; 1500

#define M_THRANDUIL_PREATTACKDELAY 			800 
#define M_THRANDUIL_DELAYBETWEENSHOTS 			0 
#define M_THRANDUIL_FIRINGDURATION 			0
#define M_THRANDUIL_RELOADTIME_MIN			2300 ; ; 1000
#define M_THRANDUIL_RELOADTIME_MAX			2300 ; ; 1000
#define	M_THRANDUIL_BOW_RANGE					460 ; ; 400
#define M_THRANDUIL_BOW_RANGE_DEADEYE			520 ; ; 500
#define	M_THRANDUIL_BOW_DAMAGE				400 ; ; 100
#define	M_THRANDUIL_BOW_DAMAGE_DEADEYE_MAGICAL		300


#define M_THRANDUIL_KNIFE_PREATTACKDELAY 		500
#define M_THRANDUIL_KNIFE_DELAYBETWEENSHOTS 	1
#define M_THRANDUIL_KNIFE_FIRINGDURATION 		500
#define	M_THRANDUIL_KNIFE_DAMAGE				40

#define M_THRANDUIL_THORN_DAMAGE				2000
#define M_THRANDUIL_THORN_FIRE_DAMAGE	        	1000
#define M_THRANDUIL_THORN_MAGIC_DAMAGE        		1000
#define M_THRANDUIL_THORN_RELOADTIME_MIN			1500
#define M_THRANDUIL_THORN_RELOADTIME_MAX			2000

#define M_THRANDUIL_MOVEUNSEEN_EFFECT_RADIUS		50
;-----------------------Haldir----------------------------
#define M_HALDIR_BUILDCOST				1100 ; ; 2000
#define M_HALDIR_BUILDTIME				70 ; ; 30
#define M_HALDIR_HEALTH					2200 ; ; 2000

#define	M_HALDIR_LVL1_EXP_AWARD 				35
#define	M_HALDIR_LVL2_EXP_AWARD 				40
#define	M_HALDIR_LVL3_EXP_AWARD 				45
#define	M_HALDIR_LVL4_EXP_AWARD 				50
#define	M_HALDIR_LVL5_EXP_AWARD 				60
#define	M_HALDIR_LVL6_EXP_AWARD 				75
#define	M_HALDIR_LVL7_EXP_AWARD 				90
#define	M_HALDIR_LVL8_EXP_AWARD 				105
#define	M_HALDIR_LVL9_EXP_AWARD 				125
#define	M_HALDIR_LVL10_EXP_AWARD 				150

#define	M_HALDIR_LVL2_EXP_NEEDED 				50 ;200 
#define	M_HALDIR_LVL3_EXP_NEEDED 				100 ;400 
#define	M_HALDIR_LVL4_EXP_NEEDED 				150 ;600  ; ; 200
#define	M_HALDIR_LVL5_EXP_NEEDED 				500 ;800  ; ; 300
#define	M_HALDIR_LVL6_EXP_NEEDED 				850 ;1000  ; ; 400
#define	M_HALDIR_LVL7_EXP_NEEDED 				1200 ;1200  ; ; 500
#define	M_HALDIR_LVL8_EXP_NEEDED 				1500 ;1400  ; ; 700
#define	M_HALDIR_LVL9_EXP_NEEDED 				1800 ;1600 ; ; 900
#define	M_HALDIR_LVL10_EXP_NEEDED 			2100 ;2000 ; ; 1100

#define M_HALDIR_PREATTACKDELAY				1200 ; ; 800
#define M_HALDIR_DELAYBETWEENSHOTS			0
#define M_HALDIR_FIRINGDURATION				0
#define M_HALDIR_RELOADTIME_MIN				2000
#define M_HALDIR_RELOADTIME_MAX				2000
#define M_HALDIR_BOW_RANGE				350 ; ; 400
#define	M_HALDIR_BOW_DAMAGE				100
#define M_HALDIR_GOLDENARROW_DAMAGE			300 ; ; 200

#define M_HALDIR_SWORD_PREATTACKDELAY 		500
#define M_HALDIR_SWORD_DELAYBETWEENSHOTS 		800 ; ; 1
#define M_HALDIR_SWORD_FIRINGDURATION 		500
#define	M_HALDIR_SWORD_DAMAGE					60 ; ; 120

#define M_SPELL_HALDIR_GOLDENARROW_DAYLIGHT_DURATION_MS	10000


;--------------------Glorfindel----------------
#define M_GLORFINDEL_SWORD_DELAYBETWEENSHOTS		1
#define M_GLORFINDEL_SWORD_PREATTACKDELAY			500
#define M_GLORFINDEL_SWORD_FIRINGDURATION 		500
#define	M_GLORFINDEL_SWORD_DAMAGE					100 ; ; 150

#define M_SPELL_GLORFINDEL_STARLIGHT_DURATION_MS	30000


;-----------------------Gloin------------------
#define M_GLOIN_BUILDCOST				1100 ; ; 2000
#define M_GLOIN_BUILDTIME				30
#define M_GLOIN_HEALTH				2400 ; ; 3000

#define M_GLOIN_PREATTACKDELAY 			433
#define M_GLOIN_DELAYBETWEENSHOTS 		600
#define M_GLOIN_FIRINGDURATION 			600

#define	M_GLOIN_DAMAGE				300
#define M_GLOIN_SLAM_DAMAGE			500
#define M_GLOIN_SLAM_DAMAGE_STRUCTURAL		500	

#define M_GLOIN_SHAKEFOUNDATION_DAMAGE		2800 ; ; 2000

#define	M_GLOIN_LVL1_EXP_AWARD 				35
#define	M_GLOIN_LVL2_EXP_AWARD 				40
#define	M_GLOIN_LVL3_EXP_AWARD 				45
#define	M_GLOIN_LVL4_EXP_AWARD 				50
#define	M_GLOIN_LVL5_EXP_AWARD 				60
#define	M_GLOIN_LVL6_EXP_AWARD 				75
#define	M_GLOIN_LVL7_EXP_AWARD 				90
#define	M_GLOIN_LVL8_EXP_AWARD 				105
#define	M_GLOIN_LVL9_EXP_AWARD 				125
#define	M_GLOIN_LVL10_EXP_AWARD 				150

#define	M_GLOIN_LVL2_EXP_NEEDED 				40 ;200  ; ; 50
#define	M_GLOIN_LVL3_EXP_NEEDED 				80 ;400  ; ; 100
#define	M_GLOIN_LVL4_EXP_NEEDED 				120 ;600  ; ; 200
#define	M_GLOIN_LVL5_EXP_NEEDED 				350 ;800  ; ; 300
#define	M_GLOIN_LVL6_EXP_NEEDED 				580 ;1000  ; ; 400
#define	M_GLOIN_LVL7_EXP_NEEDED 				810 ;1200  ; ; 500
#define	M_GLOIN_LVL8_EXP_NEEDED 				1090 ;1400  ; ; 700
#define	M_GLOIN_LVL9_EXP_NEEDED 				1370 ;1600 ; ; 900
#define	M_GLOIN_LVL10_EXP_NEEDED 				1650 ;2000 ; ; 1100

#define M_GLOIN_SMASH_WEAPON_RADIUS			250.0


;-----------------------Gandalf the Grey------------------
#define M_GANDALF_THE_GREY_BUILDCOST			3000
#define M_GANDALF_THE_GREY_BUILDTIME			45
#define M_GANDALF_THE_GREY_HEALTH				3000

#define	M_GANDALF_LVL1_EXP_AWARD 				35
#define	M_GANDALF_LVL2_EXP_AWARD 				40
#define	M_GANDALF_LVL3_EXP_AWARD 				45
#define	M_GANDALF_LVL4_EXP_AWARD 				50
#define	M_GANDALF_LVL5_EXP_AWARD 				60
#define	M_GANDALF_LVL6_EXP_AWARD 				75
#define	M_GANDALF_LVL7_EXP_AWARD 				90
#define	M_GANDALF_LVL8_EXP_AWARD 				105
#define	M_GANDALF_LVL9_EXP_AWARD 				125
#define	M_GANDALF_LVL10_EXP_AWARD 			150

;Gandalf requires more exp becaues of his AOE powers
#define	M_GANDALF_LVL2_EXP_NEEDED 			100 ;300 
#define	M_GANDALF_LVL3_EXP_NEEDED 			200 ;600 
#define	M_GANDALF_LVL4_EXP_NEEDED 			300 ;1000 
#define	M_GANDALF_LVL5_EXP_NEEDED 			500 ;1400 
#define	M_GANDALF_LVL6_EXP_NEEDED 			700 ;1800 
#define	M_GANDALF_LVL7_EXP_NEEDED 			900 ;2200 
#define	M_GANDALF_LVL8_EXP_NEEDED 			1100 ;2600 
#define	M_GANDALF_LVL9_EXP_NEEDED 			1500 ;3000 
#define	M_GANDALF_LVL10_EXP_NEEDED 			2000 ;4000 

#define M_GANDALF_THE_GREY_PREATTACKDELAY 		633
#define M_GANDALF_THE_GREY_DELAYBETWEENSHOTS 		867
#define M_GANDALF_THE_GREY_FIRINGDURATION 		900 ;867
#define	M_GANDALF_THE_GREY_DAMAGE				300 ; ; 100

#define	M_GANDALF_FORCE_ATTACK_DAMAGE			500
#define	M_GANDALF_FORCE_ATTACK_RANGE			100

#define	M_GANDALF_WORD_OF_POWER_DAMAGE			500
#define	M_GANDALF_WORD_OF_POWER_RANGE			120

#define	M_GANDALF_LIGHTNING_DAMAGE			500 ; ; 300
#define	M_GANDALF_LIGHTNING_DAMAGE_FLAME			180 ; ; 60
#define	M_GANDALF_LIGHTNING_RANGE				300

#define	M_GANDALF_PHASER_DAMAGE				1500 ; ; 3000
#define	M_GANDALF_PHASER_RANGE				200
#define	M_GANDALF_PHASER_CAST_RANGE			180 ; need to be a little less that the phaser range.

;-----------------------Gandalf the White------------------
#define M_GANDALF_THE_WHITE_BUILDCOST			5000 ; ; 3000
#define M_GANDALF_THE_WHITE_BUILDTIME			55 ; ; 45
#define M_GANDALF_THE_WHITE_HEALTH			4300 ; ; 2400


;-----------------------Boromir------------------
#define M_BOROMIR_BUILDCOST				1100 ; ; 1250
#define M_BOROMIR_BUILDTIME				50 ; ; 30
#define M_BOROMIR_HEALTH					3200 ; ; 2800

#define	M_BOROMIR_LVL1_EXP_AWARD 				20
#define	M_BOROMIR_LVL2_EXP_AWARD 				25
#define	M_BOROMIR_LVL3_EXP_AWARD 				30
#define	M_BOROMIR_LVL4_EXP_AWARD 				35
#define	M_BOROMIR_LVL5_EXP_AWARD 				40
#define	M_BOROMIR_LVL6_EXP_AWARD 				45
#define	M_BOROMIR_LVL7_EXP_AWARD 				50
#define	M_BOROMIR_LVL8_EXP_AWARD 				60
#define	M_BOROMIR_LVL9_EXP_AWARD 				75
#define	M_BOROMIR_LVL10_EXP_AWARD 			100

#define	M_BOROMIR_LVL2_EXP_NEEDED 			40 ;100 ; ; 50
#define	M_BOROMIR_LVL3_EXP_NEEDED 			80 ;200 ; ; 100
#define	M_BOROMIR_LVL4_EXP_NEEDED 			120 ;400 ; ; 200
#define	M_BOROMIR_LVL5_EXP_NEEDED 			450 ;600 ; ; 300
#define	M_BOROMIR_LVL6_EXP_NEEDED 			780 ;800 ; ; 400
#define	M_BOROMIR_LVL7_EXP_NEEDED 			1110 ;1000 ; ; 500
#define	M_BOROMIR_LVL8_EXP_NEEDED 			1390 ;1200 ; ; 700
#define	M_BOROMIR_LVL9_EXP_NEEDED 			1670 ; 1600 ; ; 900
#define	M_BOROMIR_LVL10_EXP_NEEDED 			1950 ;2000 ; ; 1100

#define M_BOROMIR_PREATTACKDELAY 				733
#define M_BOROMIR_DELAYBETWEENSHOTS 			766
#define M_BOROMIR_FIRINGDURATION 				1100 ; ; 866
#define	M_BOROMIR_DAMAGE					175 ; ; 300

;-----------------------Merry------------------
#define M_MERRY_HEALTH					400

;-----------------------Hobbit-----------------
#define M_HOBBIT_HEALTH					200 ; ; 400
#define M_HOBBIT_HEALTH_DAMAGED				100 ; ; 200
#define M_HOBBIT_HEALTH_RECOVERY_TIME			10000
#define	M_HOBBIT_VISION_RANGE 				175
#define M_HOBBIT_BUILDCOST				50
#define M_HOBBIT_BUILDTIME				20

#define	M_HOBBIT_LVL1_EXP_AWARD 				10
#define	M_HOBBIT_LVL2_EXP_AWARD 				15
#define	M_HOBBIT_LVL3_EXP_AWARD 				20
#define	M_HOBBIT_LVL4_EXP_AWARD 				25
#define	M_HOBBIT_LVL5_EXP_AWARD 				30
#define	M_HOBBIT_LVL6_EXP_AWARD 				35
#define	M_HOBBIT_LVL7_EXP_AWARD 				40
#define	M_HOBBIT_LVL8_EXP_AWARD 				45
#define	M_HOBBIT_LVL9_EXP_AWARD 				50
#define	M_HOBBIT_LVL10_EXP_AWARD 				60

#define	M_HOBBIT_LVL2_EXP_NEEDED 				25 ;100 
#define	M_HOBBIT_LVL3_EXP_NEEDED 				50 ;200 
#define	M_HOBBIT_LVL4_EXP_NEEDED 				75 ;300
#define	M_HOBBIT_LVL5_EXP_NEEDED 				100 ;400
#define	M_HOBBIT_LVL6_EXP_NEEDED 				125 ;600
#define	M_HOBBIT_LVL7_EXP_NEEDED 				150 ;800
#define	M_HOBBIT_LVL8_EXP_NEEDED 				175 ;1000
#define	M_HOBBIT_LVL9_EXP_NEEDED 				200 ;1200
#define	M_HOBBIT_LVL10_EXP_NEEDED 			225 ;1400

#define M_HOBBIT_SWORD_PREATTACKDELAY 			567
#define M_HOBBIT_SWORD_DELAYBETWEENSHOTS 			633
#define M_HOBBIT_SWORD_FIRINGDURATION 			833
#define	M_HOBBIT_SWORD_DAMAGE				60

#define	M_HOBBIT_ROCK_DAMAGE				50 ; ; 200
#define	M_HOBBIT_ROCK_RANGE				350 ; ; 200

#define M_HOBBIT_BOUNTY_VALUE       		5

;-----------------------Pippin------------------
#define M_PIPPIN_HEALTH					400

;-----------------------Frodo------------------
#define M_FRODO_HEALTH					800

#define M_FRODO_PREATTACKDELAY 				841
#define M_FRODO_DELAYBETWEENSHOTS 			826
#define M_FRODO_FIRINGDURATION 				826
#define	M_FRODO_DAMAGE					60

#define	M_FRODO_BUILDTIME					15
#define	M_FRODO_BUILDCOST					200



;-----------------------Sam------------------
#define M_SAM_HEALTH					600

#define M_SAM_PAN_PREATTACKDELAY 				800
#define M_SAM_PAN_DELAYBETWEENSHOTS 			800
#define M_SAM_PAN_FIRINGDURATION 				800
#define	M_SAM_PAN_DAMAGE					100

#define	M_SAM_BUILDTIME					15
#define	M_SAM_BUILDCOST					200

;---------------- CAH ---------------------------	

#define M_CAH_BUILDCOST				2000
#define M_CAH_BUILDTIME				30
			

;-----------------------Faramir------------------
#define M_FARAMIR_BUILDCOST				2000 ; ; 1200
#define M_FARAMIR_BUILDTIME				50 ; ; 30
#define M_FARAMIR_HEALTH					2000

#define	M_FARAMIR_LVL1_EXP_AWARD 				20
#define	M_FARAMIR_LVL2_EXP_AWARD 				25
#define	M_FARAMIR_LVL3_EXP_AWARD 				30
#define	M_FARAMIR_LVL4_EXP_AWARD 				35
#define	M_FARAMIR_LVL5_EXP_AWARD 				40
#define	M_FARAMIR_LVL6_EXP_AWARD 				45
#define	M_FARAMIR_LVL7_EXP_AWARD 				50
#define	M_FARAMIR_LVL8_EXP_AWARD 				60
#define	M_FARAMIR_LVL9_EXP_AWARD 				75
#define	M_FARAMIR_LVL10_EXP_AWARD 			100

#define	M_FARAMIR_LVL2_EXP_NEEDED 				60 ;100 ; ; 50
#define	M_FARAMIR_LVL3_EXP_NEEDED 				120 ;200 ; ; 100
#define	M_FARAMIR_LVL4_EXP_NEEDED 				180 ;400 ; ; 150
#define	M_FARAMIR_LVL5_EXP_NEEDED 				370 ;600 ; ; 200
#define	M_FARAMIR_LVL6_EXP_NEEDED 				560 ;800 ; ; 250
#define	M_FARAMIR_LVL7_EXP_NEEDED 				750 ;1000 ; ; 300
#define	M_FARAMIR_LVL8_EXP_NEEDED 				900 ;1200 ; ; 350
#define	M_FARAMIR_LVL9_EXP_NEEDED 				1050 ;1600 ; ; 400
#define	M_FARAMIR_LVL10_EXP_NEEDED 				1200 ;2000 ; ; 500

;700 + 1500 = 2200
#define M_FARAMIR_PREATTACKDELAY     			800
#define M_FARAMIR_DELAYBETWEENSHOTS    		1400
#define M_FARAMIR_FIRINGDURATION     			1200

#define M_FARAMIR_BOW_PREATTACKDELAY 			1170
#define M_FARAMIR_BOW_DELAYBETWEENSHOTS 			0
#define M_FARAMIR_BOW_FIRINGDURATION 			0
#define M_FARAMIR_BOW_RELOADTIME_MIN			1200 ; ; 1500
#define M_FARAMIR_BOW_RELOADTIME_MAX			1600 ; ; 2000

#define	M_FARAMIR_DAMAGE					200
#define	M_FARAMIR_BOW_DAMAGE				150
#define	M_FARAMIR_BOW_RANGE				350

#define	M_FARAMIR_WOUNDING_ARROW_DAMAGE			400 ; ; 300
#define	M_FARAMIR_WOUNDING_ARROW_RANGE			380 ; ; 350

;-----------------------Damrod------------------
#define M_DAMROD_BUILDCOST				1200
#define M_DAMROD_BUILDTIME				30
#define M_DAMROD_HEALTH					1600

#define	M_DAMROD_LVL1_EXP_AWARD 			20
#define	M_DAMROD_LVL2_EXP_AWARD 			25
#define	M_DAMROD_LVL3_EXP_AWARD 			30
#define	M_DAMROD_LVL4_EXP_AWARD 			35
#define	M_DAMROD_LVL5_EXP_AWARD 			40
#define	M_DAMROD_LVL6_EXP_AWARD 			45
#define	M_DAMROD_LVL7_EXP_AWARD 			50
#define	M_DAMROD_LVL8_EXP_AWARD 			60
#define	M_DAMROD_LVL9_EXP_AWARD 			75
#define	M_DAMROD_LVL10_EXP_AWARD 			100

#define	M_DAMROD_LVL2_EXP_NEEDED 			50 ;60
#define	M_DAMROD_LVL3_EXP_NEEDED 			100 ;200
#define	M_DAMROD_LVL4_EXP_NEEDED 			200 ;400
#define	M_DAMROD_LVL5_EXP_NEEDED 			300 ;600
#define	M_DAMROD_LVL6_EXP_NEEDED 			500 ;800
#define	M_DAMROD_LVL7_EXP_NEEDED 			700 ;1000
#define	M_DAMROD_LVL8_EXP_NEEDED 			900 ;1200
#define	M_DAMROD_LVL9_EXP_NEEDED 			1100 ;1600
#define	M_DAMROD_LVL10_EXP_NEEDED 		1500 ;2000

#define	M_DAMROD_DAMAGE					50
#define	M_DAMROD_BOW_DAMAGE				30
#define	M_DAMROD_BOW_RANGE				350

#define	M_DAMROD_DEADLYSHOT_RANGE			400

;-----------------------Gothmog------------------
#define M_GOTHMOG_BUILDCOST				1200
#define M_GOTHMOG_BUILDTIME				30
#define M_GOTHMOG_HEALTH					2400

#define	M_GOTHMOG_LVL1_EXP_AWARD 				20
#define	M_GOTHMOG_LVL2_EXP_AWARD 				25
#define	M_GOTHMOG_LVL3_EXP_AWARD 				30
#define	M_GOTHMOG_LVL4_EXP_AWARD 				35
#define	M_GOTHMOG_LVL5_EXP_AWARD 				40
#define	M_GOTHMOG_LVL6_EXP_AWARD 				45
#define	M_GOTHMOG_LVL7_EXP_AWARD 				50
#define	M_GOTHMOG_LVL8_EXP_AWARD 				60
#define	M_GOTHMOG_LVL9_EXP_AWARD 				75
#define	M_GOTHMOG_LVL10_EXP_AWARD 				100

#define	M_GOTHMOG_LVL2_EXP_NEEDED 				50 ;60
#define	M_GOTHMOG_LVL3_EXP_NEEDED 				100 ;200
#define	M_GOTHMOG_LVL4_EXP_NEEDED 				200 ;400
#define	M_GOTHMOG_LVL5_EXP_NEEDED 				300 ;600
#define	M_GOTHMOG_LVL6_EXP_NEEDED 				500 ;800
#define	M_GOTHMOG_LVL7_EXP_NEEDED 				700 ;1000
#define	M_GOTHMOG_LVL8_EXP_NEEDED 				900 ;1200
#define	M_GOTHMOG_LVL9_EXP_NEEDED 				1100 ;1600
#define	M_GOTHMOG_LVL10_EXP_NEEDED 				1500 ;2000

#define M_GOTHMOG_PREATTACKDELAY 			1000
#define M_GOTHMOG_DELAYBETWEENSHOTS 		1500
#define M_GOTHMOG_FIRINGDURATION 			1500
#define	M_GOTHMOG_DAMAGE					60
#define M_GOTHMOG_RANGE_DAMAGE			40

;-----------------------Lurtz------------------
#define M_LURTZ_BUILDCOST					1100 ; ; 1200
#define M_LURTZ_BUILDTIME					30
#define M_LURTZ_HEALTH					2400

#define	M_LURTZ_LVL1_EXP_AWARD 				20
#define	M_LURTZ_LVL2_EXP_AWARD 				25
#define	M_LURTZ_LVL3_EXP_AWARD 				30
#define	M_LURTZ_LVL4_EXP_AWARD 				35
#define	M_LURTZ_LVL5_EXP_AWARD 				40
#define	M_LURTZ_LVL6_EXP_AWARD 				45
#define	M_LURTZ_LVL7_EXP_AWARD 				50
#define	M_LURTZ_LVL8_EXP_AWARD 				60
#define	M_LURTZ_LVL9_EXP_AWARD 				75
#define	M_LURTZ_LVL10_EXP_AWARD 				100

#define	M_LURTZ_LVL2_EXP_NEEDED 				50 ;60
#define	M_LURTZ_LVL3_EXP_NEEDED 				100 ;200
#define	M_LURTZ_LVL4_EXP_NEEDED 				150 ;400 ; ; 200
#define	M_LURTZ_LVL5_EXP_NEEDED 				400 ;600 ; ; 300
#define	M_LURTZ_LVL6_EXP_NEEDED 				650 ;800 ; ; 400
#define	M_LURTZ_LVL7_EXP_NEEDED 				900 ;1000 ; ; 500
#define	M_LURTZ_LVL8_EXP_NEEDED 				1200 ;1200 ; ; 600
#define	M_LURTZ_LVL9_EXP_NEEDED 				1500 ;1600 ; ; 700
#define	M_LURTZ_LVL10_EXP_NEEDED 				1800 ;2000 ; ; 800

#define M_LURTZ_PREATTACKDELAY 				5 ; ; 1000
#define M_LURTZ_DELAYBETWEENSHOTS 			1166 ; ; 1500
#define M_LURTZ_FIRINGDURATION 				1200 ; ; 1500
#define	M_LURTZ_DAMAGE					170 ; ; 200

#define M_LURTZ_CARNAGE_PREATTACKDELAY 			367
#define M_LURTZ_CARNAGE_DELAYBETWEENSHOTS 		1200
#define M_LURTZ_CARNAGE_FIRINGDURATION 			833
#define M_LURTZ_CARNAGE_DAMAGE				300

#define M_LURTZ_BOW_PREATTACKDELAY			1500;
#define M_LURTZ_BOW_DELAYBETWEENSHOTS			0
#define M_LURTZ_BOW_FIRINGDURATION			0
#define M_LURTZ_BOW_RELOADTIME_MIN			1467
#define M_LURTZ_BOW_RELOADTIME_MAX			1667
#define	M_LURTZ_BOW_RANGE					320 ; ; 350
#define M_LURTZ_BOW_DAMAGE				150

#define	M_LURTZ_BOW_STUN_RANGE				350
#define M_LURTZ_BOW_STUN_DAMAGE				200 ;400

#define M_CRIPPLE_STRIKE_OBJECT_FILTER		NONE +HERO -MordorBalrog -GondorGwaihir -GondorGwaihir_Summoned -MordorFellBeast -MordorWitchKingOnFellBeast -RohanTreeBerd -RohanEntFir -RohanEntFir_Summoned -RohanEntBirch_Summoned -TomBombadil -TomBombadil_Summoned -Drogoth -ElvenFortressEagle
#define M_MORGULBLADE_OBJECT_FILTER				ANY +HERO +INFANTRY +CAVALRY -MONSTER -MACHINE -STRUCTURE -MordorBalrog -GondorGwaihir -GondorGwaihir_Summoned -MordorFellBeast -MordorWitchKingOnFellBeast -RohanTreeBerd -RohanEntFir -RohanEntFir_Summoned -RohanEntBirch_Summoned -TomBombadil -TomBombadil_Summoned -Drogoth -ElvenFortressEagle ENEMIES

#define M_LURTZ_CRIPPLE_RANGE_ABILTY_START	320
#define M_LURTZ_CRIPPLE_RANGE_WEAPON			350 ;// this has to be bigger than M_LURTZ_CRIPPLE_RANGE_ABILTY_START

;-----------------------Sharku------------------
#define M_SHARKU_BUILDCOST					2000 ; ; 1200
#define M_SHARKU_BUILDTIME					70 ; ; 30
#define M_SHARKU_HEALTH					3000 ; ; 2400

#define	M_SHARKU_LVL1_EXP_AWARD 				20
#define	M_SHARKU_LVL2_EXP_AWARD 				25
#define	M_SHARKU_LVL3_EXP_AWARD 				30
#define	M_SHARKU_LVL4_EXP_AWARD 				35
#define	M_SHARKU_LVL5_EXP_AWARD 				40
#define	M_SHARKU_LVL6_EXP_AWARD 				45
#define	M_SHARKU_LVL7_EXP_AWARD 				50
#define	M_SHARKU_LVL8_EXP_AWARD 				60
#define	M_SHARKU_LVL9_EXP_AWARD 				75
#define	M_SHARKU_LVL10_EXP_AWARD 				100

#define	M_SHARKU_LVL2_EXP_NEEDED 				50 ;60
#define	M_SHARKU_LVL3_EXP_NEEDED 				100 ;200
#define	M_SHARKU_LVL4_EXP_NEEDED 				150 ;400
#define	M_SHARKU_LVL5_EXP_NEEDED 				440 ;600 ; ; 200
#define	M_SHARKU_LVL6_EXP_NEEDED 				730 ;800 ; ; 250
#define	M_SHARKU_LVL7_EXP_NEEDED 				1020 ;1000 ; ; 300
#define	M_SHARKU_LVL8_EXP_NEEDED 				1170 ;1200 ; ; 350
#define	M_SHARKU_LVL9_EXP_NEEDED 				1320 ;1600 ; ; 400
#define	M_SHARKU_LVL10_EXP_NEEDED 			1470 ;2000 ; ; 500

#define M_SHARKU_PREATTACKDELAY 				1000
#define M_SHARKU_DELAYBETWEENSHOTS 			1500
#define M_SHARKU_FIRINGDURATION 				1500
#define	M_SHARKU_DAMAGE					270 ; ; 150

;-----------------------Saruman------------------
#define M_SARUMAN_BUILDCOST				3000
#define M_SARUMAN_BUILDTIME				70 ; ; 45
#define M_SARUMAN_HEALTH					3000

#define	M_SARUMAN_LVL1_EXP_AWARD 				35
#define	M_SARUMAN_LVL2_EXP_AWARD 				40
#define	M_SARUMAN_LVL3_EXP_AWARD 				45
#define	M_SARUMAN_LVL4_EXP_AWARD 				50
#define	M_SARUMAN_LVL5_EXP_AWARD 				60
#define	M_SARUMAN_LVL6_EXP_AWARD 				75
#define	M_SARUMAN_LVL7_EXP_AWARD 				90
#define	M_SARUMAN_LVL8_EXP_AWARD 				105
#define	M_SARUMAN_LVL9_EXP_AWARD 				125
#define	M_SARUMAN_LVL10_EXP_AWARD 			150

#define	M_SARUMAN_LVL2_EXP_NEEDED 			90 ;60 ; ; 100
#define	M_SARUMAN_LVL3_EXP_NEEDED 			180 ;200 ; ; 200
#define	M_SARUMAN_LVL4_EXP_NEEDED 			270 ;400 ; ; 300
#define	M_SARUMAN_LVL5_EXP_NEEDED 			700 ;600 ; ; 500
#define	M_SARUMAN_LVL6_EXP_NEEDED 			1130 ;800 ; ; 700
#define	M_SARUMAN_LVL7_EXP_NEEDED 			1560 ;1000 ; ; 900
#define	M_SARUMAN_LVL8_EXP_NEEDED 			2110 ;1200 ; ; 1100
#define	M_SARUMAN_LVL9_EXP_NEEDED 			2660 ;1600 ; ; 1500
#define	M_SARUMAN_LVL10_EXP_NEEDED 			3210 ;2000 ; ; 2000

#define M_SARUMAN_PREATTACKDELAY 				1100
#define M_SARUMAN_DELAYBETWEENSHOTS 			1000
#define M_SARUMAN_FIRINGDURATION 				1566
#define	M_SARUMAN_DAMAGE					250 ; ; 100

#define	M_SARUMAN_FORCE_ATTACK_DAMAGE			500

#define	M_SARUMAN_FIREBALL_DAMAGE				400
#define	M_SARUMAN_FIREBALL_DAMAGE_SIEGE			400
#define M_SARUMAN_FIREBALL_RADIUS				30.0
#define M_SARUMAN_FIREBALL_RANGE				300 ; ; 250
#define M_SARUMAN_FIREBALL_RELOAD_TIME			60000

#define	M_SARUMAN_LIGHTNING_DAMAGE			1000
#define	M_SARUMAN_LIGHTNING_DAMAGE_FLAME		 	2000
#define	M_SARUMAN_LIGHTNING_RANGE			     	300
#define	M_SARUMAN_LIGHTNING_RADIUS		     	50

;----------------------Wormtongue---------------
#define M_WORMTONGUE_BUILDCOST				2000 ; ; 800
#define M_WORMTONGUE_BUILDTIME				20		 ; ; 45
#define	M_WORMTONGUE_DAMAGE				100
#define	M_WORMTONGUE_BACKSTAB_DAMAGE			200
#define M_WORMTONGUE_DELAYBETWEENSHOTS 		466 ; ; 1000
#define M_WORMTONGUE_PREATTACKDELAY 			700 ; ; 1100
#define M_WORMTONGUE_FIRINGDURATION 			1200 ; ; 1566
#define M_WORMTONGUE_HEALTH					2800 ; ; 2000
#define M_WORMTONGUE_WEAPON_RANGE				30.0

#define	M_WORMTONGUE_LVL1_EXP_AWARD 			20
#define	M_WORMTONGUE_LVL2_EXP_AWARD 			25
#define	M_WORMTONGUE_LVL3_EXP_AWARD 			30
#define	M_WORMTONGUE_LVL4_EXP_AWARD 			35
#define	M_WORMTONGUE_LVL5_EXP_AWARD 			40
#define	M_WORMTONGUE_LVL6_EXP_AWARD 			45
#define	M_WORMTONGUE_LVL7_EXP_AWARD 			50
#define	M_WORMTONGUE_LVL8_EXP_AWARD 			60
#define	M_WORMTONGUE_LVL9_EXP_AWARD 			75
#define	M_WORMTONGUE_LVL10_EXP_AWARD 			100

#define	M_WORMTONGUE_LVL2_EXP_NEEDED 			30 ; ; 50
#define	M_WORMTONGUE_LVL3_EXP_NEEDED 			60 ; ; 100
#define	M_WORMTONGUE_LVL4_EXP_NEEDED 			90 ; ; 150
#define	M_WORMTONGUE_LVL5_EXP_NEEDED 			190 ; ; 200
#define	M_WORMTONGUE_LVL6_EXP_NEEDED 			290 ; ; 250
#define	M_WORMTONGUE_LVL7_EXP_NEEDED 			390 ; ; 300
#define	M_WORMTONGUE_LVL8_EXP_NEEDED 			540 ; ; 350
#define	M_WORMTONGUE_LVL9_EXP_NEEDED 			690 ; ; 400
#define	M_WORMTONGUE_LVL10_EXP_NEEDED 			840 ; ; 500

;-----------------------Nazgul------------------
#define M_NAZGUL_BUILDCOST				3000
#define M_NAZGUL_BUILDTIME				95 ; ; 60
#define M_NAZGUL_HEALTH					6000 ;3500

#define	M_NAZGUL_PLOW_DAMAGE_INNER			500 
#define	M_NAZGUL_PLOW_DAMAGE_OUTER			250 
;ok so both hit a hero and claws do nothing.  

#define	M_NAZGUL_CLAW_DAMAGE				500

#define	M_NAZGUL_FLY_INTO_DAMAGE 				100

#define M_NAZGUL_GRAB_SPLASH_DAMAGE			240.0		
#define M_NAZGUL_GRAB_RADIUS_OF_DAMAGE			30.0		
#define M_NAZGUL_GRAB_AMOUNT_OF_SHOCK			20.0
#define M_NAZGUL_GRAB_RADIUS_OF_SHOCK			50.0
#define	M_NAZGUL_GRAB_ARC_OF_SHOCK			90.0		;0 to 360 how big is the arc of affect

#define	M_NAZGUL_LVL1_EXP_AWARD			35
#define	M_NAZGUL_LVL2_EXP_NEEDED 			110 ; ; 50
#define	M_NAZGUL_LVL2_EXP_AWARD 			40
#define	M_NAZGUL_LVL3_EXP_NEEDED 			220 ; ; 100
#define	M_NAZGUL_LVL3_EXP_AWARD 			45
#define	M_NAZGUL_LVL4_EXP_NEEDED 			330 ; ; 200
#define	M_NAZGUL_LVL4_EXP_AWARD 			50
#define	M_NAZGUL_LVL5_EXP_NEEDED 			630 ; ; 300
#define	M_NAZGUL_LVL5_EXP_AWARD 			60
#define	M_NAZGUL_LVL6_EXP_NEEDED 			930 ; ; 500
#define	M_NAZGUL_LVL6_EXP_AWARD 			75
#define	M_NAZGUL_LVL7_EXP_NEEDED 			1230 ; ; 700
#define	M_NAZGUL_LVL7_EXP_AWARD 			90
#define	M_NAZGUL_LVL8_EXP_NEEDED 			1780 ; ; 900
#define	M_NAZGUL_LVL8_EXP_AWARD 			105
#define	M_NAZGUL_LVL9_EXP_NEEDED 			2330 ; ; 1100
#define	M_NAZGUL_LVL9_EXP_AWARD 			125
#define	M_NAZGUL_LVL10_EXP_NEEDED 		2880 ; ; 1500
#define	M_NAZGUL_LVL10_EXP_AWARD 			150


;-----------------------WitchKing On FellBeast---
#define M_WITCHKING_ON_FELLBEAST_BUILDCOST		5000
#define M_WITCHKING_ON_FELLBEAST_BUILDTIME		115 ; ; 60
#define M_WITCHKING_ON_FELLBEAST_HEALTH			8000
#define M_WITCHKING_COMMAND_POINTS				100 ; ; 75

#define M_WITCHKING_SWORD_PREATTACKDELAY 			500
#define M_WITCHKING_DELAYBETWEENSHOTS 			700
#define M_WITCHKING_FIRINGDURATION 			700
#define	M_WITCHKING_DAMAGE				320

#define M_WITCHKING_MORGULBLADE_PREATTACKDELAY 		500
#define M_WITCHKING_MORGULBLADE_DELAYBETWEENSHOTS 	700
#define M_WITCHKING_MORGULBLADE_FIRINGDURATION 		700
#define	M_WITCHKING_MORGULBLADE_DAMAGE			200

#define M_WITCHKING_MACE_PREATTACKDELAY 			1250
#define M_WITCHKING_MACE_DELAYBETWEENSHOTS 		1000
#define M_WITCHKING_MACE_FIRINGDURATION 			1750
#define	M_WITCHKING_MACE_DAMAGE				600

#define	M_WITCHKING_LVL1_EXP_AWARD			35
#define	M_WITCHKING_LVL2_EXP_NEEDED 			150 ; ; 100
#define	M_WITCHKING_LVL2_EXP_AWARD 			40
#define	M_WITCHKING_LVL3_EXP_NEEDED 			300 ; ; 200
#define	M_WITCHKING_LVL3_EXP_AWARD 			45
#define	M_WITCHKING_LVL4_EXP_NEEDED 			450 ; ; 300
#define	M_WITCHKING_LVL4_EXP_AWARD 			50
#define	M_WITCHKING_LVL5_EXP_NEEDED 			930 ; ; 500
#define	M_WITCHKING_LVL5_EXP_AWARD 			60
#define	M_WITCHKING_LVL6_EXP_NEEDED 			1410 ; ; 700
#define	M_WITCHKING_LVL6_EXP_AWARD 			75
#define	M_WITCHKING_LVL7_EXP_NEEDED 			1890 ; ; 900
#define	M_WITCHKING_LVL7_EXP_AWARD 			90
#define	M_WITCHKING_LVL8_EXP_NEEDED 			2490 ; ; 1100
#define	M_WITCHKING_LVL8_EXP_AWARD 			105
#define	M_WITCHKING_LVL9_EXP_NEEDED 			3090 ; ; 1500
#define	M_WITCHKING_LVL9_EXP_AWARD 			125
#define	M_WITCHKING_LVL10_EXP_NEEDED 			3690 ; ; 2000
#define	M_WITCHKING_LVL10_EXP_AWARD 			150

#define M_WITCHKING_DREADVISAGE_EFFECT_RADIUS_MOUNTED	200
#define M_WITCHKING_DREADVISAGE_EFFECT_RADIUS			100

;-----------------------Mouth of Sauron------------
#define M_MOUTH_OF_SAURON_BUILDCOST			2000 ; ; 1500
#define M_MOUTH_OF_SAURON_BUILDTIME			70 ; ; 45
#define M_MOUTH_OF_SAURON_HEALTH				2800 ; ; 5000

#define M_MOUTH_OF_SAURON_BOUNTY_VALUE			375

#define M_MOUTH_OF_SAURON_DAMAGE				320

#define M_MOUTH_OF_SAURON_PREATTACKDELAY 			500  
#define M_MOUTH_OF_SAURON_DELAYBETWEENSHOTS 		1000 
#define M_MOUTH_OF_SAURON_FIRINGDURATION 			1000 


#define	M_MOUTH_OF_SAURON_LVL1_EXP_AWARD 			20
#define	M_MOUTH_OF_SAURON_LVL2_EXP_AWARD 			25
#define	M_MOUTH_OF_SAURON_LVL3_EXP_AWARD 			30
#define	M_MOUTH_OF_SAURON_LVL4_EXP_AWARD 			35
#define	M_MOUTH_OF_SAURON_LVL5_EXP_AWARD 			40
#define	M_MOUTH_OF_SAURON_LVL6_EXP_AWARD 			45
#define	M_MOUTH_OF_SAURON_LVL7_EXP_AWARD 			50
#define	M_MOUTH_OF_SAURON_LVL8_EXP_AWARD 			60
#define	M_MOUTH_OF_SAURON_LVL9_EXP_AWARD 			75
#define	M_MOUTH_OF_SAURON_LVL10_EXP_AWARD 		100

#define	M_MOUTH_OF_SAURON_LVL2_EXP_NEEDED 				50 ;100
#define	M_MOUTH_OF_SAURON_LVL3_EXP_NEEDED 				100 ;200
#define	M_MOUTH_OF_SAURON_LVL4_EXP_NEEDED 				150 ;400 ; ; 200
#define	M_MOUTH_OF_SAURON_LVL5_EXP_NEEDED 				440 ;600 ; ; 300
#define	M_MOUTH_OF_SAURON_LVL6_EXP_NEEDED 				730 ;800 ; ; 400
#define	M_MOUTH_OF_SAURON_LVL7_EXP_NEEDED 				1020 ;1000 ; ; 500
#define	M_MOUTH_OF_SAURON_LVL8_EXP_NEEDED 				1420 ;1200 ; ; 600
#define	M_MOUTH_OF_SAURON_LVL9_EXP_NEEDED 				1820 ;1600 ; ; 700
#define	M_MOUTH_OF_SAURON_LVL10_EXP_NEEDED 				2220 ;2000 ; ; 800

#define M_MOUTH_OF_SAURON_DOUBT_DAMAGE_MULT_MODIFIER	75%		;// <100% for debuff
#define M_MOUTH_OF_SAURON_DOUBT_ARMOR_MODIFIER		-25%	;// additive, this value is subtracted from all entries in armor.ini
#define M_MOUTH_OF_SAURON_DOUBT_RADIUS				100
#define M_MOUTH_OF_SAURON_DOUBT_RECHARGE_MS			60000

#define M_MOUTH_OF_SAURON_DISSENT_DURATION_MS			45000
#define M_MOUTH_OF_SAURON_DISSENT_RADIUS				160 ; ; 100
#define M_MOUTH_OF_SAURON_DISSENT_RECHARGE_MS			200000 ; ; 120000

#define M_MOUTH_OF_SAURON_EVILEYE_RANGE				250
#define M_MOUTH_OF_SAURON_EVILEYE_RECHARGE_MS			90000


;-----------------------Tom Bombadil------------
#define M_TOM_BOMBADIL_HEALTH				5000
#define	M_TOM_BOMBADIL_SONIC_SONG_DAMAGE			500
#define	M_TOM_BOMBADIL_SONIC_SONG_RANGE			100
#define M_TOM_BOMBADIL_PUNCH_DELAYBETWEENSHOTS		1000
#define M_TOM_BOMBADIL_PUNCH_FIRINGDURATION		1000
#define M_TOM_BOMBADIL_PUNCH_PREATTACKDELAY		500
#define M_TOM_BOMBADIL_PUNCH_DAMAGE				200

;-----------------------Elrond------------------
#define M_ELROND_HEALTH					3500

#define M_ELROND_PREATTACKDELAY 				50 ; ; 600
#define M_ELROND_DELAYBETWEENSHOTS 			1200
#define M_ELROND_FIRINGDURATION 				1200
#define	M_ELROND_DAMAGE					200 ; ; 250

#define	M_ELROND_BOW_RANGE				500

#define	M_ELROND_LVL1_EXP_AWARD 				35
#define	M_ELROND_LVL2_EXP_AWARD 				40
#define	M_ELROND_LVL3_EXP_AWARD 				45
#define	M_ELROND_LVL4_EXP_AWARD 				50
#define	M_ELROND_LVL5_EXP_AWARD 				60
#define	M_ELROND_LVL6_EXP_AWARD 				75
#define	M_ELROND_LVL7_EXP_AWARD 				90
#define	M_ELROND_LVL8_EXP_AWARD 				105
#define	M_ELROND_LVL9_EXP_AWARD 				125
#define	M_ELROND_LVL10_EXP_AWARD 				150

#define	M_ELROND_LVL2_EXP_NEEDED 				30 ;200  ; ; 50
#define	M_ELROND_LVL3_EXP_NEEDED 				60 ;400  ; ; 100
#define	M_ELROND_LVL4_EXP_NEEDED 				90 ;600  ; ; 200
#define	M_ELROND_LVL5_EXP_NEEDED 				420 ;800  ; ; 300
#define	M_ELROND_LVL6_EXP_NEEDED 				750 ;1000  ; ; 500
#define	M_ELROND_LVL7_EXP_NEEDED 				1080 ;1200  ; ; 700
#define	M_ELROND_LVL8_EXP_NEEDED 				1560 ;1400  ; ; 900
#define	M_ELROND_LVL9_EXP_NEEDED 				2040 ;1600 ; ; 1100
#define	M_ELROND_LVL10_EXP_NEEDED 			2520 ;2000 ; ; 1500

#define M_ELROND_BUILDCOST					3000 ; ; 2500
#define M_ELROND_BUILDTIME					45 ; ; 30
#define M_ELROND_THREAT						100

;-----------------------FireDrake------------------
#define M_FIREDRAKE_BOUNTY_VALUE							250
#define M_FIREDRAKE_HEALTH						4000
#define M_FIREDRAKE_HEALTH_RECOVERY_TIME					10000

#define M_FIREDRAKE_FLAME_RANGE							100
#define M_FIREDRAKE_FLAME_SPEED							100
#define M_FIREDRAKE_FLAME_MINSPEED						85
#define M_FIREDRAKE_FLAME_MAXSPEED						115
#define M_FIREDRAKE_FLAME_DELAYBETWEENSHOTS				50
#define M_FIREDRAKE_FLAME_PREATTACKDELAY					0
#define M_FIREDRAKE_FLAME_FIRINGDURATION					0
#define M_FIREDRAKE_FLAME_RELOADTIME_MAX					50
#define M_FIREDRAKE_FLAME_DAMAGE							750
#define M_FIREDRAKE_FLAME_RADIUS							20 ; ; 30
#define M_FIREDRAKE_FLAME_DELAY							0
#define M_FIREDRAKE_FLAME_FUELINCREASE_RADIUS				30
#define M_FIREDRAKE_FLAME_FUELINCREASE_AMOUNT				12
#define M_FIREDRAKE_FLAME_FUELINCREASE_MINMAXBURNRATE		10
#define M_FIREDRAKE_FLAME_FUELINCREASE_RESISTANCE			5
#define M_FIREDRAKE_FLAME_INCREASEBURNRATE_RADIUS			10
#define M_FIREDRAKE_FLAME_INCREASEBURNRATE_AMOUNT			10

#define M_FIREDRAKE_INFERNO_DAMAGE						2000
#define M_FIREDRAKE_INFERNO_RADIUS						150

#define M_FIREDRAKE_INFERNO_FUELINCREASE_RADIUS			150
#define M_FIREDRAKE_INFERNO_FUELINCREASE_AMOUNT			12
#define M_FIREDRAKE_INFERNO_FUELINCREASE_MINMAXBURNRATE	10
#define M_FIREDRAKE_INFERNO_FUELINCREASE_RESISTANCE		5

#define M_FIREDRAKE_INFERNO_INCREASEBURNRATE_RADIUS		210
#define M_FIREDRAKE_INFERNO_INCREASEBURNRATE_AMOUNT		20


;-----------------------SummonedDragon------------------
#define M_SUMMONED_DRAGON_FLAME_RANGE					200
#define M_SUMMONED_DRAGON_FLAME_SPEED					100
#define M_SUMMONED_DRAGON_FLAME_MINSPEED					85
#define M_SUMMONED_DRAGON_FLAME_MAXSPEED					115
#define M_SUMMONED_DRAGON_FLAME_DELAYBETWEENSHOTS				50
#define M_SUMMONED_DRAGON_FLAME_PREATTACKDELAY				0
#define M_SUMMONED_DRAGON_FLAME_FIRINGDURATION				0
#define M_SUMMONED_DRAGON_FLAME_RELOADTIME_MAX				50
#define M_SUMMONED_DRAGON_FLAME_DAMAGE					2000
#define M_SUMMONED_DRAGON_FLAME_RADIUS					175
#define M_SUMMONED_DRAGON_FLAME_DELAY					0
#define M_SUMMONED_DRAGON_FLAME_FUELINCREASE_RADIUS			30
#define M_SUMMONED_DRAGON_FLAME_FUELINCREASE_AMOUNT			150
#define M_SUMMONED_DRAGON_FLAME_FUELINCREASE_MINMAXBURNRATE		10
#define M_SUMMONED_DRAGON_FLAME_FUELINCREASE_RESISTANCE			5
#define M_SUMMONED_DRAGON_FLAME_INCREASEBURNRATE_RADIUS			50
#define M_SUMMONED_DRAGON_FLAME_INCREASEBURNRATE_AMOUNT			10
#define M_SUMMONED_DRAGON_CRUSH_DAMAGE							200


;-----------------------GoblinKing------------------
#define M_WILD_GOBLIN_KING_BUILDCOST		1100 ; ; 3000
#define M_WILD_GOBLIN_KING_BUILDTIME		40 ; ; 30
#define M_WILD_GOBLIN_KING_HEALTH			2200 ; ; 3000

#define	M_WILD_GOBLIN_KING_LVL1_EXP_AWARD 				35
#define	M_WILD_GOBLIN_KING_LVL2_EXP_AWARD 				40
#define	M_WILD_GOBLIN_KING_LVL3_EXP_AWARD 				45
#define	M_WILD_GOBLIN_KING_LVL4_EXP_AWARD 				50
#define	M_WILD_GOBLIN_KING_LVL5_EXP_AWARD 				60
#define	M_WILD_GOBLIN_KING_LVL6_EXP_AWARD 				75
#define	M_WILD_GOBLIN_KING_LVL7_EXP_AWARD 				90
#define	M_WILD_GOBLIN_KING_LVL8_EXP_AWARD 				105
#define	M_WILD_GOBLIN_KING_LVL9_EXP_AWARD 				125
#define	M_WILD_GOBLIN_KING_LVL10_EXP_AWARD 			150

#define	M_WILD_GOBLIN_KING_LVL2_EXP_NEEDED 			50 ;200 
#define	M_WILD_GOBLIN_KING_LVL3_EXP_NEEDED 			100 ;400 
#define	M_WILD_GOBLIN_KING_LVL4_EXP_NEEDED 			150 ;600  ; ; 200
#define	M_WILD_GOBLIN_KING_LVL5_EXP_NEEDED 			400 ;800  ; ; 300
#define	M_WILD_GOBLIN_KING_LVL6_EXP_NEEDED 			650 ;1000  ; ; 400
#define	M_WILD_GOBLIN_KING_LVL7_EXP_NEEDED 			900 ;1200  ; ; 500
#define	M_WILD_GOBLIN_KING_LVL8_EXP_NEEDED 			1450 ;1400  ; ; 600
#define	M_WILD_GOBLIN_KING_LVL9_EXP_NEEDED 			2000 ;1600  ; ; 700
#define	M_WILD_GOBLIN_KING_LVL10_EXP_NEEDED 			2550 ;2000 ; ; 800

#define M_WILD_GOBLIN_KING_PREATTACKDELAY 	200 ; ; 600
#define M_WILD_GOBLIN_KING_DELAYBETWEENSHOTS 	50 ; ; 600
#define M_WILD_GOBLIN_KING_FIRINGDURATION 	1000
#define M_WILD_GOBLIN_KING_DAMAGE				190 ; ; 300

#define M_WILD_GOBLIN_KING_STINGER_PREATTACKDELAY 	600
#define M_WILD_GOBLIN_KING_STINGER_DELAYBETWEENSHOTS 	600
#define M_WILD_GOBLIN_KING_STINGER_FIRINGDURATION 	1000 ;600
#define M_WILD_GOBLIN_KING_STINGER_DAMAGE				20
;#define WILD_GOBLIN_KING_STINGER_POISON_DAMAGE		10

#define M_CALL_OF_THE_DEEP_MAX_CAST_RANGE				250

;-----------------------Drogoth------------------
#define M_DROGOTH_BUILDCOST				5000
#define M_DROGOTH_BUILDTIME				115 ; ; 60
#define M_DROGOTH_HEALTH					6000
#define M_DROGOTH_HEAL_AMOUNT				30
#define M_DROGOTH_PLOW_DAMAGE_INNER			200

#define M_DROGOTH_FIREBALL_RANGE				400
#define	M_DROGOTH_FIREBALL_DAMAGE				400
#define	M_DROGOTH_FIREBALL_DAMAGE_SIEGE		400
#define M_DROGOTH_FIREBALL_RADIUS				30

#define M_DROGOTH_FIREFLIGHT_RANGE			150 ; ; 300
#define M_DROGOTH_FIREFLIGHT_DAMAGE			1000			; level 10 power, should be large.
#define M_DROGOTH_FIREFLIGHT_RADIUS			60 ; ; 100

#define M_DROGOTH_WING_FLAP_DAMAGE_SMALL			15
#define M_DROGOTH_WING_FLAP_RADIUS_SMALL			75
#define M_DROGOTH_WING_FLAP_DAMAGE_LARGE			5
#define M_DROGOTH_WING_FLAP_RADIUS_LARGE			150
#define M_DROGOTH_WING_FLAP_SHOCK_AMOUNT_SMALL		60
#define M_DROGOTH_WING_FLAP_SHOCK_RADIUS_SMALL		60
#define M_DROGOTH_WING_FLAP_SHOCK_AMOUNT_LARGE		40
#define M_DROGOTH_WING_FLAP_SHOCK_RADIUS_LARGE		100

#define M_DROGOTH_INCINERATE_RANGE			60
#define M_DROGOTH_INCINERATE_DAMAGE			1000
#define M_DROGOTH_INCINERATE_RADIUS			210
#define M_DROGOTH_INCINERATE_ARC				90
#define M_DROGOTH_INCINERATE_CENTRE_DAMAGE	1000		; A nugget right on the centre, so if an object is slightly behind the arc it still gets damaged.
#define M_DROGOTH_INCINERATE_CENTRE_RADIUS	50


#define	M_DROGOTH_LVL1_EXP_AWARD 				40
#define	M_DROGOTH_LVL2_EXP_AWARD 				50
#define	M_DROGOTH_LVL3_EXP_AWARD 				60
#define	M_DROGOTH_LVL4_EXP_AWARD 				70
#define	M_DROGOTH_LVL5_EXP_AWARD 				80
#define	M_DROGOTH_LVL6_EXP_AWARD 				90
#define	M_DROGOTH_LVL7_EXP_AWARD 				100
#define	M_DROGOTH_LVL8_EXP_AWARD 				125
#define	M_DROGOTH_LVL9_EXP_AWARD 				150
#define	M_DROGOTH_LVL10_EXP_AWARD 			200

#define	M_DROGOTH_LVL2_EXP_NEEDED 			150 ;200  ; ; 100
#define	M_DROGOTH_LVL3_EXP_NEEDED 			300 ;400  ; ; 200
#define	M_DROGOTH_LVL4_EXP_NEEDED 			450 ;600  ; ; 400
#define	M_DROGOTH_LVL5_EXP_NEEDED 			930 ;800  ; ; 600
#define	M_DROGOTH_LVL6_EXP_NEEDED 			1410 ;1000  ; ; 800
#define	M_DROGOTH_LVL7_EXP_NEEDED 			1890 ;1200  ; ; 1000
#define	M_DROGOTH_LVL8_EXP_NEEDED 			2290 ;1400  ; ; 1200
#define	M_DROGOTH_LVL9_EXP_NEEDED 			2690 ;1600  ; ; 1500
#define	M_DROGOTH_LVL10_EXP_NEEDED 			3090 ;2000 ; ; 2000


//-----------------------CreateAHero------------------
#include "CreateAHeroGameData.inc"
//-----------------------CreateAHero------------------

;-----------------------Isildur------------------
#define M_ISILDUR_HEALTH					1500

;-----------------------Giant Eagle------------------
#define M_GIANT_EAGLE_HEALTH				4000 ; ; 2000
#define	M_EAGLE_PLOW_DAMAGE_OUTER				250
#define	M_EAGLE_PLOW_DAMAGE_INNER				500
#define M_EAGLE_FLY_INTO_DAMAGE				200
#define	M_EAGLE_CLAW_DAMAGE				500
#define M_EAGLE_GRAB_SPLASH_DAMAGE			40.0	

;Gwaihir uses all the nazgul attacks for damage. 

;----------------------Balrog of Morgoth!!!---------------
#define M_BALROG_HEALTH					4000

#define	M_BALROG_SWORD_SWIPE_DAMAGE_NORMAL		1000	;Normal attack with knockback
#define	M_BALROG_SWORD_SWIPE_DAMAGE_FLAME			800 ;1000
#define	M_BALROG_SWORD_CHOP_DAMAGE_STRUCTURAL		600 ;1000	;Chop against buildings and some monsters
#define	M_BALROG_SWORD_CHOP_DAMAGE_FLAME			1000 ;1000
#define	M_BALROG_DAMAGE_DISPLAY				2000	; In the hero tooltip, how much damage I say I do
#define	M_BALROG_WHIP_DAMAGE				2000
#define	M_BALROG_WHIP_DAMAGE_FLAME			1000
#define	M_BALROG_BREATH_DAMAGE				3000
#define M_BALROG_BREATH_RADIUS				210
#define	M_BALROG_JUMP_DAMAGE				400
#define	M_BALROG_SUMMONING_DAMAGE				1000
#define	M_BALROG_IGNITE_AURA_DAMAGE			100
#define M_BALROG_LIFETIME					90000

#define M_SHROUD_CLEAR_BALROG				800
#define M_VISION_BALROG					400

#define M_WATCHER_LIFETIME				30000
#define M_WATCHER_CALDERA_LIFETIME		32000	; This number should be bigger than LurkerLifetime by the "DestructionDelay" in "ModuleTag_HatchProcess" in "LurkerEgg"
#define M_WATCHER_ARM_HEALTH		2000


;-------------- Wyrm ---------------
#define M_WYRM_HEALTH						15000
#define M_WYRM_FIRE_PREATTACKDELAY 		800
#define M_WYRM_FIRE_DELAYBETWEENSHOTS 	1000
#define M_WYRM_FIRE_FIRINGDURATION 		1000
#define	M_WYRM_FIRE_DAMAGE				3500 ; ; 2000
#define	M_WYRM_FIRE_RADIUS				80
#define	M_WYRM_APPEAR_DAMAGE				100			; The damage when we erupt through the ground.
#define	M_WYRM_APPEAR_RADIUS				50
#define	M_WYRM_APPEAR_SH_RADIUS			75

;-------------- Gollum ---------------
#define M_GOLLUM_PREATTACKDELAY 		1000
#define M_GOLLUM_DELAYBETWEENSHOTS 	0
#define M_GOLLUM_FIRINGDURATION 		1000
#define M_GOLLUM_DAMAGE			10


;----------------------ARMY OF THE DEAD - OATHBREAKERS ----
#define	M_OATHBREAKER_SWORD				300
#define M_OATHBREAKER_SWORD_PREATTACKDELAY 		200
#define M_OATHBREAKER_SWORD_DELAYBETWEENSHOTS 		300
#define M_OATHBREAKER_SWORD_FIRINGDURATION 		300

#define	M_OATHBREAKER_LIFETIME				45000

;----------------------BARROW WIGHT ----
#define	M_BARROWWIGHT_SWORD						200
#define M_BARROWWIGHT_SWORD_PREATTACKDELAY 		600
#define M_BARROWWIGHT_SWORD_DELAYBETWEENSHOTS 	300
#define M_BARROWWIGHT_SWORD_FIRINGDURATION 		800 ; ; 1400

;-----------------------Cave Troll-------------------------
#define	M_CAVE_TROLL_HEALTH 				2000


;------------------------HORDE RENDER LOD DATA----------------------------
#define M_ALLOW_MULTIPLE_MODELS_LOW		No
#define M_MAX_RANDOM_TEXTURES_LOW			1
#define M_MAX_RANDOM_ANIMATIONS_LOW		1
#define M_MAX_ANIM_FRAME_DELTA_LOW		10

#define M_ALLOW_MULTIPLE_MODELS_MED		No
#define M_MAX_RANDOM_TEXTURES_MED			2
#define M_MAX_RANDOM_ANIMATIONS_MED		4
#define M_MAX_ANIM_FRAME_DELTA_MED		4

#define M_ALLOW_MULTIPLE_MODELS_HIGH		Yes
#define M_MAX_RANDOM_TEXTURES_HIGH		2
#define M_MAX_RANDOM_ANIMATIONS_HIGH		4
#define M_MAX_ANIM_FRAME_DELTA_HIGH		4

;------------------------HORDE MOVEMENT DATA------------------------------
#define M_UNIT_FLAMING_DEATH_PANIC_SPEED			40

#define M_NORMAL_INGAME_PORTER_SPEED				60

#define M_NORMAL_EVIL_INFANTRY_HORDE_SPEED		33
#define M_NORMAL_EVIL_INFANTRY_MEMBER_SPEED		37	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_EVIL_FAST_HORDE_SPEED			50
#define M_NORMAL_EVIL_FAST_MEMBER_SPEED			55	; A little faster so when the formation wheels the unit can catch up.


#define M_NORMAL_GOOD_INFANTRY_HORDE_SPEED		37 ; ; 40
#define M_NORMAL_GOOD_INFANTRY_MEMBER_SPEED		40	; A little faster so when the formation wheels the unit can catch up. ; ; 45

#define M_NORMAL_GOOD_FAST_HORDE_SPEED			50
#define M_NORMAL_GOOD_FAST_MEMBER_SPEED			55	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_CAVALRY_HORDE_SPEED			80
#define M_NORMAL_CAVALRY_MEMBER_SPEED			90	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_CAVALRY_FAST_HORDE_SPEED			90
#define M_NORMAL_CAVALRY_FAST_MEMBER_SPEED		100	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_DWARF_HERO_SPEED				45
#define M_NORMAL_GOOD_HERO_SPEED				50 ; ; 40
#define M_NORMAL_EVIL_HERO_SPEED				55 ; ; 50

#define M_NORMAL_GOOD_LEGOLAS_SPEED			50
#define M_NORMAL_GOOD_HOBBIT_SPEED			35
#define M_NORMAL_GOOD_THRANDUIL_SPEED			50


#define M_NORMAL_ISENGARD_INFANTRY_HORDE_SPEED		58 ; ; 50
#define M_NORMAL_ISENGARD_INFANTRY_MEMBER_SPEED		63	; A little faster so when the formation wheels the unit can catch up. ; ; 55

#define M_NORMAL_ISENGARD_PIKEMEN_HORDE_SPEED		58 ; ; 50
#define M_NORMAL_ISENGARD_PIKEMEN_MEMBER_SPEED		63	; A little faster so when the formation wheels the unit can catch up. ; ; 55

#define M_NORMAL_ISENGARD_FAST_HORDE_SPEED		65
#define M_NORMAL_ISENGARD_FAST_MEMBER_SPEED		75	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_ISENGARD_CAVALRY_HORDE_SPEED		80
#define M_NORMAL_ISENGARD_CAVALRY_MEMBER_SPEED		90	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_ISENGARD_CAVALRY_FAST_HORDE_SPEED	110
#define M_NORMAL_ISENGARD_CAVALRY_FAST_MEMBER_SPEED	120	; A little faster so when the formation wheels the unit can catch up.

	

#define M_NORMAL_MORDOR_INFANTRY_HORDE_SPEED		50
#define M_NORMAL_MORDOR_INFANTRY_MEMBER_SPEED		55	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_MORDOR_PIKEMEN_HORDE_SPEED		63
#define M_NORMAL_MORDOR_PIKEMEN_MEMBER_SPEED		67	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_MORDOR_FAST_HORDE_SPEED			70
#define M_NORMAL_MORDOR_FAST_MEMBER_SPEED			75	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_MORDOR_CAVALRY_HORDE_SPEED		100
#define M_NORMAL_MORDOR_CAVALRY_MEMBER_SPEED		110	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_MORDOR_CAVALRY_FAST_HORDE_SPEED		120
#define M_NORMAL_MORDOR_CAVALRY_FAST_MEMBER_SPEED		130	; A little faster so when the formation wheels the unit can catch up.


#define M_NORMAL_WILD_INFANTRY_HORDE_SPEED		50
#define M_NORMAL_WILD_INFANTRY_MEMBER_SPEED		55	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_WILD_PIKEMEN_HORDE_SPEED			63
#define M_NORMAL_WILD_PIKEMEN_MEMBER_SPEED		67	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_WILD_FAST_HORDE_SPEED			65
#define M_NORMAL_WILD_FAST_MEMBER_SPEED			70	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_WILD_CAVALRY_HORDE_SPEED			83 ; ; 90
#define M_NORMAL_WILD_CAVALRY_MEMBER_SPEED		95	; A little faster so when the formation wheels the unit can catch up. ; ; 100

#define M_NORMAL_WILD_CAVALRY_FAST_HORDE_SPEED		120
#define M_NORMAL_WILD_CAVALRY_FAST_MEMBER_SPEED		130	; A little faster so when the formation wheels the unit can catch up.


#define M_NORMAL_ELVEN_INFANTRY_HORDE_SPEED		50
#define M_NORMAL_ELVEN_INFANTRY_MEMBER_SPEED		55	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_ELVEN_PIKEMEN_HORDE_SPEED		50
#define M_NORMAL_ELVEN_PIKEMEN_MEMBER_SPEED		55	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_ELVEN_FAST_HORDE_SPEED			60
#define M_NORMAL_ELVEN_FAST_MEMBER_SPEED			65	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_ELVEN_CAVALRY_HORDE_SPEED		100
#define M_NORMAL_ELVEN_CAVALRY_MEMBER_SPEED		110	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_ELVEN_CAVALRY_FAST_HORDE_SPEED		90
#define M_NORMAL_ELVEN_CAVALRY_FAST_MEMBER_SPEED		100	; A little faster so when the formation wheels the unit can catch up.

; ----------------------------------HORDE SIZE--------------------------------------------
#define M_ORC_HORDE_SIZE                  10  ; Orcs & Uruk Hai
#define M_EVIL_RIDER_HORDE_SIZE			5
#define M_EVIL_MEN_BIG_HORDE_SIZE			15
#define M_EVIL_MEN_NORMAL_HORDE_SIZE		5
#define M_GOOD_MEN_HORDE_SIZE             10   ; Actually any infantry right now
#define M_GOOD_MEN_SMALL_HORDE_SIZE       5   ; Actually any infantry right now
#define M_GOOD_MEN_GIANT_HORDE_SIZE       15  ; ??? It actually looks like a mistake that this and M_GOOD_MEN_HORDE_SIZE are different; may need to collapse the two
#define M_GOOD_RIDER_HORDE_SIZE           5
#define M_GOOD_RIDER_SMALL_HORDE_SIZE     3   ; Actually any infantry right now
#define M_GOOD_RIDER_LARGE_HORDE_SIZE     10  ; ??? Another one where it looks like having two numbers was a mistake (since the alternate formation horde has the other number)
#define M_OATHBREAKER_HORDE_SIZE          40
#define M_OATHBREAKER_SMALL_HORDE_SIZE    16

;----------------------------CRUSHING AND BEING CRUSHED-----------------------------------

#define M_SUPER_INFANTRY_CRUSH_REVENGE_DAMAGE		400 ; ; 250
#define M_ANTI_CAVALRY_INFANTRY_CRUSH_REVENGE_DAMAGE	250
#define M_BASIC_INFANTRY_CRUSH_REVENGE_DAMAGE		10
#define M_RANGED_INFANTRY_CRUSH_REVENGE_DAMAGE		5
				

#define M_MUMAKIL_CRUSH_DAMAGE				800 ; ; 400
#define M_TOM_BOMBADIL_CRUSH_DAMAGE			400
#define M_BALROG_CRUSH_DAMAGE				200
#define M_KNIGHT_CRUSH_DAMAGE				60 ; ; 80
#define M_SPIDER_CRUSH_DAMAGE				10
#define M_WARG_CRUSH_DAMAGE				70 ; ; 60
#define M_TROLL_CRUSH_DAMAGE				10 
#define M_ROHIRRIM_CRUSH_DAMAGE				50 ; ; 160
#define M_SPIDERRIDER_CRUSH_DAMAGE			80 ; ; 160
#define M_RIVENDELLLANCER_CRUSH_DAMAGE			50 ; ; 100
#define M_DWARVEN_BATTLEWAGON_CRUSH_DAMAGE		180 ; ; 300
#define M_SHELOB_CRUSH_DAMAGE				200

;----------------------------AI BONUSES-----------------------------------
#define M_EASY_AI_SINGLE_PLAYER_DAMAGE_MULT	25%
#define M_MEDIUM_AI_SINGLE_PLAYER_DAMAGE_MULT 	100%
#define M_HARD_AI_SINGLE_PLAYER_DAMAGE_MULT	120%

#define M_EASY_AI_MULTI_PLAYER_DAMAGE_MULT	100%
#define M_MEDIUM_AI_MULTI_PLAYER_DAMAGE_MULT	100%
#define M_HARD_AI_MULTI_PLAYER_DAMAGE_MULT	100%


;---------------------------- THREAT LEVELS -----------------------------------
	;-------HORDES--------
#define M_GOBLIN_FIGHTER_HORDE_THREAT 100
#define M_GOBLIN_ARCHER_HORDE_THREAT 100
#define M_WILD_SPIDERLING_HORDE_THREAT 100
#define M_GOBLIN_SPIDERRIDER_HORDE_THREAT 100
#define M_WILD_MAURADER_HORDE_THREAT 100
#define M_MORDOR_FIGHTER_HORDE_THREAT 100
#define M_MORDOR_ARCHER_HORDE_THREAT 100
#define M_MORDOR_ORC_SCOUT_HORDE_THREAT 15.0
#define M_MORDOR_GOBLINFIGHTER_HORDE_THREAT 15.0
#define M_MORDOR_CORSAIRSOFUMBAR_HORDE_THREAT 100
#define M_MORDOR_HARADRIM_ARCHER_HORDE_THREAT 100
#define M_MORDOR_EASTERLING_HORDE_THREAT 100
#define M_ISENGARD_FIGHTER_HORDE_THREAT 100
#define M_ISENGARD_PIKEMAN_HORDE_THREAT 100
#define M_ISENGARD_WILDMAN_HORDE_THREAT 100
#define M_ISENGARD_URUKCROSSBOW_HORDE_THREAT 100
#define M_ISENGARD_WARGRIDER_HORDE_THREAT 100
#define M_GONDOR_FIGHTER_HORDE_THREAT 100
#define M_GONDOR_TOWERSHIELDGUARD_HORDE_THREAT 100
#define M_GONDOR_ARCHER_HORDE_THREAT 100
#define M_GONDOR_RANGER_HORDE_THREAT 100
#define M_GONDOR_KNIGHT_HORDE_THREAT 100
#define M_ROHAN_ROHIRRIM_HORDE_THREAT 100
#define M_ELVEN_MIRKWOODARCHER_HORDE_THREAT 100
#define M_ELVEN_RIVENDELLLANCER_HORDE_THREAT 100
#define M_ELVEN_LORIENWARRIOR_HORDE_THREAT 100
#define M_ELVEN_MITHLONDSENTRY_HORDE_THREAT 100
#define M_ELVEN_LORIENARCHER_HORDE_THREAT 100
#define M_DWARVEN_GUARDIAN_HORDE_THREAT 100
#define M_DWARVEN_AXETHROWER_HORDE_THREAT 100
#define M_DWARVEN_PHALANX_HORDE_THREAT 100
#define M_DWARVEN_MENOFDALE_HORDE_THREAT 100

	;-------EVIL--------
#define M_CAVE_TROLL_THREAT_LEVEL 100
#define M_DROGOTH_THREAT_LEVEL 5.0
#define M_FIRE_DRAKE_THREAT_LEVEL 100
#define M_GOBLIN_KING_THREAT_LEVEL 100
#define M_MOUNTAIN_GIANT_THREAT_LEVEL 100
#define M_SHELOB_THREAT_LEVEL 100
#define M_MORDOR_MOUNTAINTROLL_THREAT_LEVEL 100
#define M_MOUTH_OF_SAURON_THREAT_LEVEL 100
#define M_RING_WRAITH_THREAT_LEVEL 5.0
#define M_SAURON_THREAT_LEVEL 100
#define M_SIEGETOWER_THREAT_LEVEL 100
#define M_WITCHKING_THREAT_LEVEL 100
#define M_ATTACK_TROLL_THREAT_LEVEL 100
#define M_MORDOR_CATAPULT_THREAT_LEVEL 100
#define M_MORDOR_DRUMMERTROLL_THREAT_LEVEL 100
#define M_FELL_BEAST_THREAT_LEVEL 100
#define M_GOTHMOG_THREAT_LEVEL 100
#define M_GROND_THREAT_LEVEL 100
#define M_LURTZ_THREAT_LEVEL 100
#define M_ISENGARD_MINE_THREAT_LEVEL 100
#define M_SARUMAN_THREAT_LEVEL 100
#define M_SHARKU_THREAT_LEVEL 100
#define M_ISENGARD_SIEGELADDER_THREAT_LEVEL 100
#define M_WORMTONGUE_THREAT_LEVEL 5.0
#define M_ISENGARD_BATTERINGRAM_THREAT_LEVEL 5.0
#define M_ISENGARD_BALLISTA_THREAT_LEVEL 100
#define M_EVILMEN_TRANSPORTSHIP_THREAT_LEVEL 100
#define M_MUMAKIL_THREAT_LEVEL 100
#define M_CORSAIRSHIP_THREAT_LEVEL 100
#define M_BLACKRIDER_THREAT_LEVEL 100
#define M_WYRM_THREAT_LEVEL 5.0
#define M_WATCHER_THREAT_LEVEL 5.0
#define M_SUMMONEDDRAGON_THREAT_LEVEL 5.0
#define M_DRAGONSTRIKE_DRAGON_THREAT_LEVEL 5.0
#define M_ISENGARD_BESERKER_THREAT_LEVEL 100

	;-------GOOD--------
#define M_GLOIN_THREAT_LEVEL 100
#define M_GIMLI_THREAT_LEVEL 100
#define M_DWARVEN_RAM_THREAT_LEVEL 100
#define M_DWARVEN_BATTLEWAGON_THREAT_LEVEL 100
#define M_DAIN_THREAT_LEVEL 100
#define M_DWARVEN_CATAPULT_THREAT_LEVEL 100
#define M_ELVEN_SHIP_THREAT_LEVEL 100
#define M_ARWEN_THREAT_LEVEL 100
#define M_TREEBEARD_THREAT_LEVEL 100
#define M_ENT_INFANTRY_THREAT_LEVEL 5.0
#define M_THARANDUIL_THREAT_LEVEL 100
#define M_LEGOLAS_THREAT_LEVEL 100
#define M_ISILDUR_THREAT_LEVEL 5.0
#define M_HALDIR_THREAT_LEVEL 100
#define M_GWAIHIR_THREAT_LEVEL 100
#define M_GLORFINDEL_THREAT_LEVEL 100
#define M_GALADRIEL_THREAT_LEVEL 100
#define M_ELVEN_TRANSPORTSHIP_THREAT_LEVEL 100
#define M_GANDALF_THREAT_LEVEL 100
#define M_FRODO_THREAT_LEVEL 100
#define M_FARAMIR_THREAT_LEVEL 100
#define M_EOWYN_THREAT_LEVEL 100
#define M_EOMER_THREAT_LEVEL 100
#define M_BOROMIR_THREAT_LEVEL 100
#define M_ARAGORN_THREAT_LEVEL 100
#define M_DENETHOR_THREAT_LEVEL 5.0
#define M_GAMLING_THREAT_LEVEL 5.0
#define M_GONDOR_TREBUCHET_THREAT_LEVEL 100
#define M_THEODEN_THREAT_LEVEL 100
#define M_SAM_THREAT_LEVEL 100
#define M_PIPPIN_THREAT_LEVEL 100
#define M_MERRY_THREAT_LEVEL 100

;-----------------------------SPELL DATA----------------------------------
#define M_SPELL_HEAL_RADIUS_CURSOR			200    ; Cursor size for heal spell ; ; 100
#define M_SPELL_HEAL_RADIUS_UNIT_SCAN		    200    ; How far to scan for units to heal ; ; 100
#define M_SPELL_HEAL_RADIUS_HORDE_SCAN		280    ; A little bigger so that if some horde members are within the cursor, scan will find the horde brain ; ; 140

#define M_SPELL_REBUILD_RADIUS_CURSOR			100 ; ; 300
#define M_SPELL_REBUILD_RADIUS_STRUCTURE_SCAN 100	  ; ; 300

#define M_ELVEN_GIFT_REGEN_AMOUNT				10.0
#define M_ELVEN_GIFT_REGEN_DELAY				1000

#define M_SPELL_UNDERMINE_SPAWN_DAMAGE_RADIUS		200 ; balance
#define M_SPELL_UNDERMINE_AFFECTS_OBJECT_FILTER	ANY +INFANTRY +CAVALRY +MONSTER +MACHINE +HORDE +HERO

#define M_SPELL_RECHARGE_TIME_TIER_1			180000
#define M_SPELL_RECHARGE_TIME_TIER_2			360000
#define M_SPELL_RECHARGE_TIME_TIER_3			540000
#define M_SPELL_RECHARGE_TIME_TIER_4			720000

;//---------Sunflare Info-----------
#define M_SPELL_SUNFLARE_EFFECT_RADIUS		200
#define M_SPELL_SUNFLARE_FIRE_DAMAGE			40
#define M_SPELL_SUNFLARE_FIRE_FUEL			500
#define M_SPELL_SUNFLARE_FIRE_MINMAX_BURNRATE	40
#define M_SPELL_SUNFLARE_DAMAGE				3000
#define M_SPELL_SUNFLARE_DURATION				20000
#define M_SPELL_SUNFLARE_RELOAD_TIME			600000
#define M_SPELL_SUNFLARE_VIEW_OBJECT_DURATION	10000
#define M_SPELL_SUNFLARE_VIEW_OBJECT_RANGE	200

;//-----------------------------FIRE DATA----------------------------------------

;//----------------MEN OF THE WEST FIRE DATA--------------------
#define M_MEN_FARM_FIRE_FUEL							140
#define M_MEN_FARM_FIRE_MAX_BURN_RATE					20
#define M_MEN_FARM_FIRE_DECAY							5
#define M_MEN_FARM_FIRE_RESISTANCE					10

#define M_MEN_ARCHERY_RANGE_FIRE_FUEL					300
#define M_MEN_ARCHERY_RANGE_FIRE_MAX_BURN_RATE		20
#define M_MEN_ARCHERY_RANGE_FIRE_DECAY				5
#define M_MEN_ARCHERY_RANGE_FIRE_RESISTANCE			10

#define M_MEN_BARRACKS_FIRE_FUEL						300
#define M_MEN_BARRACKS_FIRE_MAX_BURN_RATE				20
#define M_MEN_BARRACKS_FIRE_DECAY						5
#define M_MEN_BARRACKS_FIRE_RESISTANCE				10

#define M_MEN_FORGE_FIRE_FUEL							100
#define M_MEN_FORGE_FIRE_MAX_BURN_RATE				20
#define M_MEN_FORGE_FIRE_DECAY						5
#define M_MEN_FORGE_FIRE_RESISTANCE					10

#define M_MEN_MARKETPLACE_FIRE_FUEL					200
#define M_MEN_MARKETPLACE_FIRE_MAX_BURN_RATE			20
#define M_MEN_MARKETPLACE_FIRE_DECAY					5
#define M_MEN_MARKETPLACE_FIRE_RESISTANCE				10

#define M_MEN_STABLE_FIRE_FUEL						300
#define M_MEN_STABLE_FIRE_MAX_BURN_RATE				20
#define M_MEN_STABLE_FIRE_DECAY						5
#define M_MEN_STABLE_FIRE_RESISTANCE					10

#define M_MEN_STATUE_FIRE_FUEL						100
#define M_MEN_STATUE_FIRE_MAX_BURN_RATE				20
#define M_MEN_STATUE_FIRE_DECAY						5
#define M_MEN_STATUE_FIRE_RESISTANCE					10

#define M_MEN_WELL_FIRE_FUEL							100
#define M_MEN_WELL_FIRE_MAX_BURN_RATE					20
#define M_MEN_WELL_FIRE_DECAY							5
#define M_MEN_WELL_FIRE_RESISTANCE					10

#define M_MEN_WORKSHOP_FIRE_FUEL						140
#define M_MEN_WORKSHOP_FIRE_MAX_BURN_RATE				20
#define M_MEN_WORKSHOP_FIRE_DECAY						5
#define M_MEN_WORKSHOP_FIRE_RESISTANCE				10

#define M_MEN_STONEMAKER_FIRE_FUEL					200
#define M_MEN_STONEMAKER_FIRE_MAX_BURN_RATE			20
#define M_MEN_STONEMAKER_FIRE_DECAY					5
#define M_MEN_STONEMAKER_FIRE_RESISTANCE				10

#define M_MEN_BATTLETOWER_FIRE_FUEL					140
#define M_MEN_BATTLETOWER_FIRE_MAX_BURN_RATE			20
#define M_MEN_BATTLETOWER_FIRE_DECAY					5
#define M_MEN_BATTLETOWER_FIRE_RESISTANCE				10

#define M_MEN_FORTRESS_FIRE_FUEL						100
#define M_MEN_FORTRESS_FIRE_MAX_BURN_RATE				20
#define M_MEN_FORTRESS_FIRE_DECAY						5
#define M_MEN_FORTRESS_FIRE_RESISTANCE				10

#define M_MEN_GARRISONEXPANSION_FIRE_FUEL				100
#define M_MEN_GARRISONEXPANSION_FIRE_MAX_BURN_RATE	20
#define M_MEN_GARRISONEXPANSION_FIRE_DECAY			5
#define M_MEN_GARRISONEXPANSION_FIRE_RESISTANCE		10

#define M_MEN_TOWEREXPANSION_FIRE_FUEL				100
#define M_MEN_TOWEREXPANSION_FIRE_MAX_BURN_RATE		20
#define M_MEN_TOWEREXPANSION_FIRE_DECAY				5
#define M_MEN_TOWEREXPANSION_FIRE_RESISTANCE			10

#define M_MEN_TREBUCHETEXPANSION_FIRE_FUEL			100
#define M_MEN_TREBUCHETEXPANSION_FIRE_MAX_BURN_RATE	20
#define M_MEN_TREBUCHETEXPANSION_FIRE_DECAY			5
#define M_MEN_TREBUCHETEXPANSION_FIRE_RESISTANCE		10

;//----------------CORRUPTED WILD FIRE DATA--------------------
#define M_WILD_ARROWDENEXPANSION_FIRE_FUEL				100
#define M_WILD_ARROWDENEXPANSION_FIRE_MAX_BURN_RATE		20
#define M_WILD_ARROWDENEXPANSION_FIRE_DECAY				5
#define M_WILD_ARROWDENEXPANSION_FIRE_RESISTANCE			10

#define M_WILD_SPIDERHOLESEXPANSION_FIRE_FUEL				100
#define M_WILD_SPIDERHOLESEXPANSION_FIRE_MAX_BURN_RATE	20
#define M_WILD_SPIDERHOLESEXPANSION_FIRE_DECAY			5
#define M_WILD_SPIDERHOLESEXPANSION_FIRE_RESISTANCE		10

#define M_WILD_GIANTSENTRYEXPANSION_FIRE_FUEL			   100
#define M_WILD_GIANTSENTRYEXPANSION_FIRE_MAX_BURN_RATE   20
#define M_WILD_GIANTSENTRYEXPANSION_FIRE_DECAY		   5
#define M_WILD_GIANTSENTRYEXPANSION_FIRE_RESISTANCE	   10

;//----------------ELVEN FIRE DATA--------------------
#define M_ELVEN_FORGE_FIRE_FUEL							140
#define M_ELVEN_FORGE_FIRE_MAX_BURN_RATE					20
#define M_ELVEN_FORGE_FIRE_DECAY							5
#define M_ELVEN_FORGE_FIRE_RESISTANCE						30

#define M_ELVEN_BARRACKS_FIRE_FUEL						140
#define M_ELVEN_BARRACKS_FIRE_MAX_BURN_RATE				20
#define M_ELVEN_BARRACKS_FIRE_DECAY						5
#define M_ELVEN_BARRACKS_FIRE_RESISTANCE					20

#define M_ELVEN_MALLORNTREE_FIRE_FUEL						400
#define M_ELVEN_MALLORNTREE_FIRE_MAX_BURN_RATE			30
#define M_ELVEN_MALLORNTREE_FIRE_DECAY					5
#define M_ELVEN_MALLORNTREE_FIRE_RESISTANCE				4

#define M_ELVEN_GREENPASTURE_FIRE_FUEL					400
#define M_ELVEN_GREENPASTURE_FIRE_MAX_BURN_RATE			30
#define M_ELVEN_GREENPASTURE_FIRE_DECAY					5
#define M_ELVEN_GREENPASTURE_FIRE_RESISTANCE				4

#define M_ELVEN_ENTMOOT_FIRE_FUEL							400
#define M_ELVEN_ENTMOOT_FIRE_MAX_BURN_RATE				30
#define M_ELVEN_ENTMOOT_FIRE_DECAY						5
#define M_ELVEN_ENTMOOT_FIRE_RESISTANCE					10

#define M_ELVEN_BATTLETOWER_FIRE_FUEL						400
#define M_ELVEN_BATTLETOWER_FIRE_MAX_BURN_RATE			30
#define M_ELVEN_BATTLETOWER_FIRE_DECAY					5
#define M_ELVEN_BATTLETOWER_FIRE_RESISTANCE				10

#define M_ELVEN_ELVENMIRROR_FIRE_FUEL						100
#define M_ELVEN_ELVENMIRROR_FIRE_MAX_BURN_RATE			30
#define M_ELVEN_ELVENMIRROR_FIRE_DECAY					5
#define M_ELVEN_ELVENMIRROR_FIRE_RESISTANCE				50

#define M_ELVEN_STATUE_FIRE_FUEL							80
#define M_ELVEN_STATUE_FIRE_MAX_BURN_RATE				30
#define M_ELVEN_STATUE_FIRE_DECAY							5
#define M_ELVEN_STATUE_FIRE_RESISTANCE					25

;-----------------------------TRANSPORT SLOTS----------------------------------------

#define M_TRANSPORTSLOTCOUNT_NOT_TRANSPORTABLE		0
#define M_TRANSPORTSLOTCOUNT_HERO						1
#define M_TRANSPORTSLOTCOUNT_DOZER					1
#define M_TRANSPORTSLOTCOUNT_SIEGE					1
#define M_TRANSPORTSLOTCOUNT_UNIT						1
#define M_TRANSPORTSLOTCOUNT_MONSTER					1
#define M_TRANSPORTSLOTCOUNT_SMALL_HORDE				1
#define M_TRANSPORTSLOTCOUNT_LARGE_HORDE				1
#define M_TRANSPORTSLOTCOUNT_MACHINE					1

;//-----------------------------TECH BUILDINGS----------------------------------------

;//-----------------------------INN----------------------------------------
#define M_INN_UNIT_BUILDCOST_DWARVEN			200 ; ; 150
#define M_INN_UNIT_BUILDCOST_ELVEN			 50
#define M_INN_UNIT_BUILDCOST_MEN				250
#define M_INN_UNIT_BUILDCOST_MORDOR			250 ; ; 200
#define M_INN_UNIT_BUILDCOST_ISENGARD			200
#define M_INN_UNIT_BUILDCOST_WILD				300 ; ; 200

;//-----------------------------OUTPOST----------------------------------------
#define M_OUTPOST_MONEY_TIME					10000
#define	M_OUTPOST_MONEY_AMOUNT				60
#define	M_OUTPOST_INITIAL_CAPTURE_BONUS		0